From dbf931bbde69c047b19d212e55140bca1bbec413 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 29 Mar 2020 23:57:55 -0400 Subject: [PATCH] fix editing issue --- src/commands/tier.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/tier.ts b/src/commands/tier.ts index a86d2e6..9c2c76f 100644 --- a/src/commands/tier.ts +++ b/src/commands/tier.ts @@ -24,7 +24,7 @@ export default class Tier extends Command { if (Number(args[1]) > 3 || Number(args[1]) < 1) return edit.edit(`***${this.client.stores.emojis.error} You can only choose a Tier between 1 and 3.***`); message.delete(); await account.updateOne({ $set: { tier: Number(args[1]) } }); - message.channel.createMessage(`***${this.client.stores.emojis.success} Tier for ${account.username} has been changed to ${args[1]}.***`); + edit.edit(`***${this.client.stores.emojis.success} Tier for ${account.username} has been changed to ${args[1]}.***`); const embed = new RichEmbed(); embed.setTitle('Cloud Account | Tier Change'); embed.setColor('#0099ff');