@require_chanmsg
@require_privilege(OP, u'You are not a channel operator.')
@commands(u'showmask')
def show_mask(bot, trigger):
 mask = bot.db.get_channel_value(trigger.sender, u'topic_mask')
 mask = (mask or default_mask(trigger))
 bot.say(mask)

@ require_chanmsg @ require_privilege ( OP , u'You are not a channel operator.' ) @ commands ( u'showmask' ) def show_mask ( bot , trigger ) : mask = bot . db . get_channel_value ( trigger . sender , u'topic_mask' ) mask = ( mask or default_mask ( trigger ) ) bot . say ( mask )
show the topic mask for the current channel .