Fix a crash when calling [p]modset showsettings (#4518)

* Fix a crash when calling `[p]modset showsettings`

* Update redbot/cogs/mod/settings.py

* be more explicit
This commit is contained in:
Draper 2020-10-22 19:05:40 +01:00 committed by GitHub
parent b8a2cf3f91
commit ca078e7cd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ class ModSettings(MixinMeta):
else:
msg += _("Default message history delete on ban: Don't delete any\n")
msg += _("Default tempban duration: {duration}").format(
humanize_timedelta(seconds=default_tempban_duration)
duration=humanize_timedelta(seconds=default_tempban_duration)
)
await ctx.send(box(msg))