1
0
Fork 0

send msgs to terminals on certain actions

refactor/models
Matthew 2020-05-22 22:24:51 -04:00
parent 9092dfcae9
commit a979f73890
No known key found for this signature in database
GPG Key ID: D499B75C1390E321
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ export default class Tier extends Command {
embed.addField('Old Tier -> New Tier', `${account.tier} -> ${args[1]}`, true);
embed.setFooter(this.client.user.username, this.client.user.avatarURL);
embed.setTimestamp();
await this.client.util.sendMessageToUserTerminal(account.username, `A technician has upgraded your tier to ${args[1]}`).catch(() => { });
await this.client.util.sendMessageToUserTerminal(account.username, `A technician has changed your tier to ${args[1]}`).catch(() => { });
this.client.createMessage('580950455581147146', { embed }); return this.client.getDMChannel(account.userID).then((channel) => channel.createMessage({ embed })).catch();
} catch (error) {
return this.client.util.handleError(error, message, this);