Skip to content

Commit 9738515

Browse files
authored
Merge pull request #2345 from sopel-irc/blocks-docstring
coretasks: fix/improve `.blocks` help output
2 parents f2712b1 + 49c0c7b commit 9738515

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sopel/coretasks.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,14 +1259,16 @@ def _get_sasl_pass_and_mech(bot):
12591259

12601260

12611261
@plugin.commands('blocks')
1262+
@plugin.example(r'.blocks add host some\.malicious\.network', user_help=True)
1263+
@plugin.example(r'.blocks add nick sp(a|4)mb(o|0)t\d*', user_help=True)
12621264
@plugin.thread(False)
12631265
@plugin.unblockable
12641266
@plugin.priority('low')
12651267
@plugin.require_admin
12661268
def blocks(bot, trigger):
12671269
"""
1268-
Manage Sopel's blocking features.\
1269-
See [ignore system documentation]({% link _usage/ignoring-people.md %}).
1270+
Manage Sopel's blocking features.
1271+
See https://sopel.chat/usage/ignoring-people/ for usage notes.
12701272
"""
12711273
STRINGS = {
12721274
"success_del": "Successfully deleted block: %s",

0 commit comments

Comments
 (0)