fix editing issue
parent
b52eb6218a
commit
dbf931bbde
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue