Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adminchannel: rework topic-mask commands #2601

Merged
merged 4 commits into from
Mar 20, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
adminchannel: add subcommand usage examples to .tmask
  • Loading branch information
dgw committed Mar 19, 2024
commit e6a0a716507e61301dfcb359ad388497bf4f3bb9
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
Loading