mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Drop unneeded .format in [p]triviaset override (#2268)
This commit is contained in:
parent
8bba860f85
commit
6e9243f6e9
@ -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>")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user