From c7b58aa65b06fe41b637c5eb6e379a6796ac7698 Mon Sep 17 00:00:00 2001 From: bobloy Date: Mon, 16 Apr 2018 15:37:29 -0400 Subject: [PATCH] [V3 Economy] guild -> server in [p]bank reset (#1530) --- redbot/cogs/economy/economy.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/redbot/cogs/economy/economy.py b/redbot/cogs/economy/economy.py index 7235a46a5..88251fd22 100644 --- a/redbot/cogs/economy/economy.py +++ b/redbot/cogs/economy/economy.py @@ -211,19 +211,22 @@ class Economy: @guild_only_check() @check_global_setting_guildowner() async def reset(self, ctx, confirmation: bool = False): - """Deletes all guild's bank accounts""" + """Deletes bank accounts""" if confirmation is False: await ctx.send( _("This will delete all bank accounts for {}.\nIf you're sure, type " "`{}bank reset yes`").format( - self.bot.user.name if await bank.is_global() else "this guild", + self.bot.user.name if await bank.is_global() else "this server", ctx.prefix ) ) else: await bank.wipe_bank() - await ctx.send(_("All bank accounts of this guild have been " - "deleted.")) + await ctx.send(_("All bank accounts for {} have been " + "deleted.").format( + self.bot.user.name if await bank.is_global() else "this server" + ) + ) @commands.command() @guild_only_check()