forked from engineering/cloudservices
fix
parent
2880dc4eb7
commit
8615d61815
|
@ -170,7 +170,7 @@ export default class Webhook extends Route {
|
||||||
embed.setColor('#0099ff');
|
embed.setColor('#0099ff');
|
||||||
embed.addField('User', `${account.username} | <@${account.userID}>`, true);
|
embed.addField('User', `${account.username} | <@${account.userID}>`, true);
|
||||||
embed.addField('Technician', 'SYSTEM', true);
|
embed.addField('Technician', 'SYSTEM', true);
|
||||||
embed.addField('Old Tier -> New Tier', `${account.tier} -> 1`, true);
|
embed.addField('Old Tier -> New Tier', `${account.tier} -> ${Number(req.query.t.toString())}`, true);
|
||||||
embed.setFooter(this.server.client.user.username, this.server.client.user.avatarURL());
|
embed.setFooter(this.server.client.user.username, this.server.client.user.avatarURL());
|
||||||
embed.setTimestamp();
|
embed.setTimestamp();
|
||||||
await this.server.client.util.sendMessageToUserTerminal(account.username, 'A technician has changed your tier.').catch(() => { });
|
await this.server.client.util.sendMessageToUserTerminal(account.username, 'A technician has changed your tier.').catch(() => { });
|
||||||
|
|
Loading…
Reference in New Issue