From 1bfa316bfe4eed514feb92c08ae90f0a8c58d8bf Mon Sep 17 00:00:00 2001 From: Mark Date: Wed, 2 Oct 2019 11:45:18 -0700 Subject: Format duration units as a list in management doctsrings Co-Authored-By: scragly <29337040+scragly@users.noreply.github.com> --- bot/cogs/moderation/management.py | 11 +++++++++-- 1 file 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. """ -- cgit v1.2.3