Skip to content

Commit

Permalink
[Mod] Fix KeyError in modset (Cog-Creators#2208)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zephyrkul authored and Tobotimus committed Oct 8, 2018
1 parent 46c38a2 commit 9e13ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redbot/cogs/mod/mod.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ async def modset(self, ctx: commands.Context):
yes_or_no=_("Yes") if respect_hierarchy else _("No")
)
msg += _("Delete delay: {num_seconds}\n").format(
num_seconds=_("{num} seconds").format(delete_delay)
num_seconds=_("{num} seconds").format(num=delete_delay)
if delete_delay != -1
else _("None")
)
Expand Down

0 comments on commit 9e13ca4

Please sign in to comment.