aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Shivansh-007 <[email protected]>2021-05-07 18:11:26 +0530
committerGravatar GitHub <[email protected]>2021-05-07 18:11:26 +0530
commitd47dca496be712bf2792de311749ae8858dc291a (patch)
tree775b598cd206d26c2c0eb260f4d0a5e0a37b1c4e
parent(infractions): Modify voice ban tests according to new changes in 3272605 (diff)
Apply request grammar changes.
Co-authored-by: Boris Muratov <[email protected]>
-rw-r--r--bot/exts/moderation/infraction/infractions.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bot/exts/moderation/infraction/infractions.py b/bot/exts/moderation/infraction/infractions.py
index de3367661..02ed5cb4c 100644
--- a/bot/exts/moderation/infraction/infractions.py
+++ b/bot/exts/moderation/infraction/infractions.py
@@ -87,7 +87,7 @@ class Infractions(InfractionScheduler, commands.Cog):
"""
Permanently ban a user for the given reason and stop watching them with Big Brother.
- If duration is specified, then it would temporarily ban that user for the given duration.
+ If duration is specified, it temporarily bans that user for the given duration.
"""
await self.apply_ban(ctx, user, reason, expires_at=duration)
@@ -101,9 +101,9 @@ class Infractions(InfractionScheduler, commands.Cog):
reason: t.Optional[str] = None
) -> None:
"""
- Same as ban but removes all their messages of the current day.
+ Same as ban but removes all their messages of the last 24 hours.
- If duration is specified, then it would temporarily ban that user for the given duration.
+ If duration is specified, it temporarily bans that user for the given duration.
"""
await self.apply_ban(ctx, user, reason, 1, 0, expires_at=duration)
@@ -119,7 +119,7 @@ class Infractions(InfractionScheduler, commands.Cog):
"""
Permanently ban user from using voice channels.
- If duration is specified, then it would temporarily voice ban that user for the given duration.
+ If duration is specified, it temporarily voice bans that user for the given duration.
"""
await self.apply_voice_ban(ctx, user, reason, expires_at=duration)