Skip to content

Commit c0f3e35

Browse files
committed
adminchannel: add subcommand usage examples to .tmask
1 parent f15f37d commit c0f3e35

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sopel/builtins/adminchannel.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,9 @@ def topic(bot, trigger):
363363

364364
@plugin.require_privilege(plugin.OP, ERROR_MESSAGE_NO_PRIV)
365365
@plugin.commands('tmask set', 'tmask get', 'tmask clear', 'tmask')
366+
@plugin.example('.tmask clear', user_help=True)
367+
@plugin.example('.tmask get', user_help=True)
368+
@plugin.example('.tmask set My {} topic mask!', user_help=True)
366369
def topic_mask_management(bot, trigger):
367370
"""Set, get, or clear the current channel's topic mask.
368371

0 commit comments

Comments
 (0)