mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
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:
parent
b8a2cf3f91
commit
ca078e7cd9
@ -84,7 +84,7 @@ class ModSettings(MixinMeta):
|
|||||||
else:
|
else:
|
||||||
msg += _("Default message history delete on ban: Don't delete any\n")
|
msg += _("Default message history delete on ban: Don't delete any\n")
|
||||||
msg += _("Default tempban duration: {duration}").format(
|
msg += _("Default tempban duration: {duration}").format(
|
||||||
humanize_timedelta(seconds=default_tempban_duration)
|
duration=humanize_timedelta(seconds=default_tempban_duration)
|
||||||
)
|
)
|
||||||
await ctx.send(box(msg))
|
await ctx.send(box(msg))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user