Drop unneeded .format in [p]triviaset override (#2268)

This commit is contained in:
palmtree5 2018-10-23 17:40:51 -08:00 committed by GitHub
parent 8bba860f85
commit 6e9243f6e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,16 +111,14 @@ class Trivia(commands.Cog):
await settings.allow_override.set(enabled) await settings.allow_override.set(enabled)
if enabled: if enabled:
await ctx.send( await ctx.send(
_( _("Done. Trivia lists can now override the trivia settings for this server.")
"Done. Trivia lists can now override the trivia settings for this server."
).format(now=enabled)
) )
else: else:
await ctx.send( await ctx.send(
_( _(
"Done. Trivia lists can no longer override the trivia settings for this " "Done. Trivia lists can no longer override the trivia settings for this "
"server." "server."
).format(now=enabled) )
) )
@triviaset.command(name="botplays", usage="<true_or_false>") @triviaset.command(name="botplays", usage="<true_or_false>")