mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 01:12:33 -05:00
Do not include expected wait_for responses in translated strings (#5364)
* Do not include 'I agree' prompt in translation string * Add more stuff * Address review comment * Address review comments
This commit is contained in:
@@ -705,7 +705,7 @@ class Permissions(commands.Cog):
|
||||
finally:
|
||||
await msg.delete()
|
||||
else:
|
||||
await ctx.send(_("Are you sure? (y/n)"))
|
||||
await ctx.send(_("Are you sure?") + " (yes/no)")
|
||||
pred = MessagePredicate.yes_or_no(ctx)
|
||||
try:
|
||||
await ctx.bot.wait_for("message", check=pred, timeout=30)
|
||||
|
||||
Reference in New Issue
Block a user