Skip to content

Commit

Permalink
fix the discord format in ban, kick and tempban (#6245)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Oliveira <[email protected]>
  • Loading branch information
ltzmax and Flame442 authored Sep 13, 2023
1 parent 64deccf commit ef098c8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions redbot/cogs/mod/kickban.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,9 @@ async def kick(self, ctx: commands.Context, member: discord.Member, *, reason: s
Kick a user.
Examples:
- `[p]kick 428675506947227648 wanted to be kicked.`
- `[p]kick 428675506947227648 wanted to be kicked.`
This will kick the user with ID 428675506947227648 from the server.
- `[p]kick @Twentysix wanted to be kicked.`
- `[p]kick @Twentysix wanted to be kicked.`
This will kick Twentysix from the server.
If a reason is specified, it will be the reason that shows up
Expand Down Expand Up @@ -380,9 +380,9 @@ async def ban(
`days` is the amount of days of messages to cleanup on ban.
Examples:
- `[p]ban 428675506947227648 7 Continued to spam after told to stop.`
- `[p]ban 428675506947227648 7 Continued to spam after told to stop.`
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.`
- `[p]ban @Twentysix 7 Continued to spam after told to stop.`
This will ban Twentysix and it will delete 7 days worth of messages.
A user ID should be provided if the user is not a member of this server.
Expand Down Expand Up @@ -595,11 +595,11 @@ async def tempban(
`days` is the amount of days of messages to cleanup on tempban.
Examples:
- `[p]tempban @Twentysix Because I say so`
- `[p]tempban @Twentysix Because I say so`
This will ban Twentysix for the default amount of time set by an administrator.
- `[p]tempban @Twentysix 15m You need a timeout`
- `[p]tempban @Twentysix 15m You need a timeout`
This will ban Twentysix for 15 minutes.
- `[p]tempban 428675506947227648 1d2h15m 5 Evil person`
- `[p]tempban 428675506947227648 1d2h15m 5 Evil person`
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
Expand Down

0 comments on commit ef098c8

Please sign in to comment.