mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-07 01:42:30 -05:00
* Do not include 'I agree' prompt in translation string
* Add more stuff
* Address review comment
* Address review comments
(cherry picked from commit 4b70acb989)
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
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