mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 11:48:55 -05:00
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:
parent
17dc9e0c47
commit
9aee8ce28f
@ -58,7 +58,7 @@ Ban a user from this server and optionally delete days of messages.
|
||||
**Example Usage**
|
||||
|
||||
* ``[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.
|
||||
|
||||
@ -92,7 +92,7 @@ Kick a user.
|
||||
**Example Usage**
|
||||
|
||||
* ``[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.
|
||||
|
||||
@ -642,7 +642,7 @@ Temporarily ban a user from this server.
|
||||
* ``[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.
|
||||
|
||||
.. _mod-command-unban:
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user