fix formatting errors
parent
abdad4ec78
commit
c34d193939
|
@ -59,7 +59,7 @@ export default class Score extends Command {
|
||||||
const mem = this.client.util.resolveMember(user.id, this.client.guilds.get(this.client.config.guildID));
|
const mem = this.client.util.resolveMember(user.id, this.client.guilds.get(this.client.config.guildID));
|
||||||
embed.addField('Member', `${mem.user.username}#${mem.user.discriminator} | <@${user.id}>`, true);
|
embed.addField('Member', `${mem.user.username}#${mem.user.discriminator} | <@${user.id}>`, true);
|
||||||
embed.addField('Type', 'SOFT', true);
|
embed.addField('Type', 'SOFT', true);
|
||||||
embed.addField('Department/Service', `${user.username} via Discord`, true);
|
embed.addField('Department/Service', `${user.username} via Discord`.toUpperCase(), true);
|
||||||
embed.setTimestamp();
|
embed.setTimestamp();
|
||||||
embed.setFooter(this.client.user.username, this.client.user.avatarURL);
|
embed.setFooter(this.client.user.username, this.client.user.avatarURL);
|
||||||
const log = <TextChannel> this.client.guilds.get(this.client.config.guildID).channels.get('611584771356622849');
|
const log = <TextChannel> this.client.guilds.get(this.client.config.guildID).channels.get('611584771356622849');
|
||||||
|
@ -198,7 +198,7 @@ export default class Score extends Command {
|
||||||
const mem = this.client.util.resolveMember(score.userID, this.client.guilds.get(this.client.config.guildID));
|
const mem = this.client.util.resolveMember(score.userID, this.client.guilds.get(this.client.config.guildID));
|
||||||
embed2.addField('Member', `${mem.user.username}#${mem.user.discriminator} | <@${score.userID}>`, true);
|
embed2.addField('Member', `${mem.user.username}#${mem.user.discriminator} | <@${score.userID}>`, true);
|
||||||
embed2.addField('Type', 'SOFT', true);
|
embed2.addField('Type', 'SOFT', true);
|
||||||
embed2.addField('Department/Service', name, true);
|
embed2.addField('Department/Service', name.toUpperCase(), true);
|
||||||
embed2.setTimestamp();
|
embed2.setTimestamp();
|
||||||
embed2.setFooter(this.client.user.username, this.client.user.avatarURL);
|
embed2.setFooter(this.client.user.username, this.client.user.avatarURL);
|
||||||
const log = <TextChannel> this.client.guilds.get(this.client.config.guildID).channels.get('611584771356622849');
|
const log = <TextChannel> this.client.guilds.get(this.client.config.guildID).channels.get('611584771356622849');
|
||||||
|
|
Loading…
Reference in New Issue