Skip to content

Commit

Permalink
adminchannel: add subcommand usage examples to .tmask
Browse files Browse the repository at this point in the history
  • Loading branch information
dgw committed Mar 19, 2024
1 parent 7fa2c42 commit e6a0a71
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sopel/builtins/adminchannel.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,9 @@ def topic(bot, trigger):

@plugin.require_privilege(plugin.OP, ERROR_MESSAGE_NO_PRIV)
@plugin.commands('tmask set', 'tmask get', 'tmask clear', 'tmask')
@plugin.example('.tmask clear', user_help=True)
@plugin.example('.tmask get', user_help=True)
@plugin.example('.tmask set My {} topic mask!', user_help=True)
def topic_mask_management(bot, trigger):
"""Set, get, or clear the current channel's topic mask.
Expand Down

0 comments on commit e6a0a71

Please sign in to comment.