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:
jack1142
2021-10-16 00:02:35 +02:00
committed by GitHub
parent 334cd4fa2a
commit 4b70acb989
8 changed files with 45 additions and 29 deletions

View File

@@ -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)