From c34d1939393b39fcfda33eefc33bcbaf2c37adeb Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sat, 3 Oct 2020 03:23:36 -0400 Subject: [PATCH] fix formatting errors --- src/commands/score.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/score.ts b/src/commands/score.ts index 32e7cd3..94717ca 100644 --- a/src/commands/score.ts +++ b/src/commands/score.ts @@ -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)); embed.addField('Member', `${mem.user.username}#${mem.user.discriminator} | <@${user.id}>`, 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.setFooter(this.client.user.username, this.client.user.avatarURL); const log = 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)); embed2.addField('Member', `${mem.user.username}#${mem.user.discriminator} | <@${score.userID}>`, true); embed2.addField('Type', 'SOFT', true); - embed2.addField('Department/Service', name, true); + embed2.addField('Department/Service', name.toUpperCase(), true); embed2.setTimestamp(); embed2.setFooter(this.client.user.username, this.client.user.avatarURL); const log = this.client.guilds.get(this.client.config.guildID).channels.get('611584771356622849');