mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-20 18:06:08 -05:00
fix: use clean prefix in code blocks (#3591)
This commit is contained in:
@@ -247,7 +247,7 @@ class Economy(commands.Cog):
|
||||
"`{prefix}bank reset yes`"
|
||||
).format(
|
||||
scope=self.bot.user.name if await bank.is_global() else _("this server"),
|
||||
prefix=ctx.prefix,
|
||||
prefix=ctx.clean_prefix,
|
||||
)
|
||||
)
|
||||
else:
|
||||
@@ -279,7 +279,7 @@ class Economy(commands.Cog):
|
||||
"This will delete all bank accounts for users no longer in this server."
|
||||
"\nIf you're sure, type "
|
||||
"`{prefix}bank prune local yes`"
|
||||
).format(prefix=ctx.prefix)
|
||||
).format(prefix=ctx.clean_prefix)
|
||||
)
|
||||
else:
|
||||
await bank.bank_prune(self.bot, guild=ctx.guild)
|
||||
@@ -301,7 +301,7 @@ class Economy(commands.Cog):
|
||||
"This will delete all bank accounts for users "
|
||||
"who no longer share a server with the bot."
|
||||
"\nIf you're sure, type `{prefix}bank prune global yes`"
|
||||
).format(prefix=ctx.prefix)
|
||||
).format(prefix=ctx.clean_prefix)
|
||||
)
|
||||
else:
|
||||
await bank.bank_prune(self.bot)
|
||||
@@ -333,7 +333,7 @@ class Economy(commands.Cog):
|
||||
"This will delete {name}'s bank account."
|
||||
"\nIf you're sure, type "
|
||||
"`{prefix}bank prune user {id} yes`"
|
||||
).format(prefix=ctx.prefix, id=uid, name=name)
|
||||
).format(prefix=ctx.clean_prefix, id=uid, name=name)
|
||||
)
|
||||
else:
|
||||
await bank.bank_prune(self.bot, guild=ctx.guild, user_id=uid)
|
||||
|
||||
Reference in New Issue
Block a user