diff options
| author | 2019-10-02 11:45:18 -0700 | |
|---|---|---|
| committer | 2019-10-02 11:45:18 -0700 | |
| commit | 1bfa316bfe4eed514feb92c08ae90f0a8c58d8bf (patch) | |
| tree | e10868bd8fb40c5bb90dfbeedaf2dec9d6bf0b69 | |
| parent | Format duration units as a list in infractions doctsrings (diff) | |
Format duration units as a list in management doctsrings
Co-Authored-By: scragly <[email protected]>
| -rw-r--r-- | bot/cogs/moderation/management.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/bot/cogs/moderation/management.py b/bot/cogs/moderation/management.py index c4fd3894e..75d3e3755 100644 --- a/bot/cogs/moderation/management.py +++ b/bot/cogs/moderation/management.py @@ -66,8 +66,15 @@ class ModManagement(commands.Cog): """ Edit the duration and/or the reason of an infraction. - Durations are relative to the time of updating and should be appended with a unit of time: - y (years), m (months), w (weeks), d (days), h (hours), M (minutes), s (seconds) + Durations are relative to the time of updating and should be appended with a unit of time. + Units (∗case-sensitive): + \u2003`y` - years + \u2003`m` - months∗ + \u2003`w` - weeks + \u2003`d` - days + \u2003`h` - hours + \u2003`M` - minutes∗ + \u2003`s` - seconds Use "permanent" to mark the infraction as permanent. """ |