diff options
| author | 2020-03-17 17:13:17 +0100 | |
|---|---|---|
| committer | 2020-03-17 17:13:17 +0100 | |
| commit | 331cd64c4d874937fad052ff83388e73db3441ee (patch) | |
| tree | 86e7f7f156f63b3d61c61153ceb2a7913e014f72 | |
| parent | Rename `cog_unload` tests. (diff) | |
Remove `channel` mentions from command docstrings.
With the new behaviour of not accepting channels
and muting the current one, it's no longer neccessary
to keep the channel param in the docstring.
Co-authored-by: MarkKoz <[email protected]>
| -rw-r--r-- | bot/cogs/moderation/silence.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/moderation/silence.py b/bot/cogs/moderation/silence.py index f532260ca..552914ae8 100644 --- a/bot/cogs/moderation/silence.py +++ b/bot/cogs/moderation/silence.py @@ -75,7 +75,7 @@ class Silence(commands.Cog): @commands.command(aliases=("hush",)) async def silence(self, ctx: Context, duration: HushDurationConverter = 10) -> None: """ - Silence `channel` for `duration` minutes or `forever`. + Silence the current channel for `duration` minutes or `forever`. Duration is capped at 15 minutes, passing forever makes the silence indefinite. Indefinitely silenced channels get added to a notifier which posts notices every 15 minutes from the start. @@ -97,7 +97,7 @@ class Silence(commands.Cog): @commands.command(aliases=("unhush",)) async def unsilence(self, ctx: Context) -> None: """ - Unsilence `channel`. + Unsilence the current channel. Unsilence a previously silenced `channel`, remove it from notifier of indefinitely silenced channels and cancel the notifier if empty. |