diff --git a/redbot/cogs/mod/mod.py b/redbot/cogs/mod/mod.py index 5160d2352..5a72d9159 100644 --- a/redbot/cogs/mod/mod.py +++ b/redbot/cogs/mod/mod.py @@ -311,13 +311,15 @@ class Mod(commands.Cog): if not cur_setting: await self.settings.guild(guild).reinvite_on_unban.set(True) await ctx.send( - _("Users unbanned with {command} will be reinvited.").format(f"{ctx.prefix}unban") + _("Users unbanned with {command} will be reinvited.").format( + command=f"{ctx.prefix}unban" + ) ) else: await self.settings.guild(guild).reinvite_on_unban.set(False) await ctx.send( _("Users unbanned with {command} will not be reinvited.").format( - f"{ctx.prefix}unban" + command=f"{ctx.prefix}unban" ) )