aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2021-01-21 02:25:46 +0300
committerGravatar Hassan Abouelela <[email protected]>2021-01-21 02:25:46 +0300
commita41b932436b8b5c07c0f5ea3bd7ee886fa01e88e (patch)
tree22b294ed01c22b004937c9d4d399eab7ed075fdf
parentRestructures Voice Ban Action (diff)
Updates Apply Infraction Docstring
-rw-r--r--bot/exts/moderation/infraction/_scheduler.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/exts/moderation/infraction/_scheduler.py b/bot/exts/moderation/infraction/_scheduler.py
index 242b2d30f..a73f2e8da 100644
--- a/bot/exts/moderation/infraction/_scheduler.py
+++ b/bot/exts/moderation/infraction/_scheduler.py
@@ -102,6 +102,7 @@ class InfractionScheduler:
"""
Apply an infraction to the user, log the infraction, and optionally notify the user.
+ `action_coro`, if not provided, will result in the infraction not getting scheduled for deletion.
`user_reason`, if provided, will be sent to the user in place of the infraction reason.
`additional_info` will be attached to the text field in the mod-log embed.