mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-05 17:02:32 -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:
@@ -1605,12 +1605,12 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
||||
guilds = (ctx.guild,)
|
||||
msg = (
|
||||
_("You haven't passed any server ID. Do you want me to leave this server?")
|
||||
+ " (y/n)"
|
||||
+ " (yes/no)"
|
||||
)
|
||||
else:
|
||||
msg = (
|
||||
_("Are you sure you want me to leave these servers?")
|
||||
+ " (y/n):\n"
|
||||
+ " (yes/no):\n"
|
||||
+ "\n".join(f"- {guild.name} (`{guild.id}`)" for guild in guilds)
|
||||
)
|
||||
|
||||
@@ -2688,8 +2688,9 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
||||
await ctx.send(
|
||||
_(
|
||||
"Warning: A prefix is above the recommended length (20 characters).\n"
|
||||
"Do you want to continue? (y/n)"
|
||||
"Do you want to continue?"
|
||||
)
|
||||
+ " (yes/no)"
|
||||
)
|
||||
pred = MessagePredicate.yes_or_no(ctx)
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user