Fix descriptions for examples of ID-based command invocations in Mod (#5372)

* Fix wording in redbot/cogs/mod/kickban.py to match with the command example

* Made changes as requested in PR Review #770078179

* Added changes to docs/cog_guides/mod.rst as requested in PR Review #70784066

* Fixed kick wording

* Fix kick wording
This commit is contained in:
WreckRox
2021-10-16 05:29:15 +06:00
committed by GitHub
parent 17dc9e0c47
commit 9aee8ce28f
2 changed files with 6 additions and 6 deletions

View File

@@ -296,7 +296,7 @@ class KickBanMixin(MixinMeta):
Examples:
- `[p]kick 428675506947227648 wanted to be kicked.`
This will kick Twentysix from the server.
This will kick the user with ID 428675506947227648 from the server.
- `[p]kick @Twentysix wanted to be kicked.`
This will kick Twentysix from the server.
@@ -382,7 +382,7 @@ class KickBanMixin(MixinMeta):
Examples:
- `[p]ban 428675506947227648 7 Continued to spam after told to stop.`
This will ban Twentysix and it will delete 7 days worth of messages.
This will ban the user with ID 428675506947227648 and it will delete 7 days worth of messages.
- `[p]ban @Twentysix 7 Continued to spam after told to stop.`
This will ban Twentysix and it will delete 7 days worth of messages.
@@ -597,7 +597,7 @@ class KickBanMixin(MixinMeta):
- `[p]tempban @Twentysix 15m You need a timeout`
This will ban Twentysix for 15 minutes.
- `[p]tempban 428675506947227648 1d2h15m 5 Evil person`
This will ban the user for 1 day 2 hours 15 minutes and will delete the last 5 days of their messages.
This will ban the user with ID 428675506947227648 for 1 day 2 hours 15 minutes and will delete the last 5 days of their messages.
"""
guild = ctx.guild
author = ctx.author