mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-05 17:02:32 -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:
@@ -55,9 +55,10 @@ class Cleanup(commands.Cog):
|
||||
return True
|
||||
|
||||
prompt = await ctx.send(
|
||||
_("Are you sure you want to delete {number} messages? (y/n)").format(
|
||||
_("Are you sure you want to delete {number} messages?").format(
|
||||
number=humanize_number(number)
|
||||
)
|
||||
+ " (yes/no)"
|
||||
)
|
||||
response = await ctx.bot.wait_for("message", check=MessagePredicate.same_context(ctx))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user