aboutsummaryrefslogtreecommitdiff
path: root/src/commands/info/guildInfo.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/info/guildInfo.ts')
-rw-r--r--src/commands/info/guildInfo.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/info/guildInfo.ts b/src/commands/info/guildInfo.ts
index 0aa5fc0..f70b741 100644
--- a/src/commands/info/guildInfo.ts
+++ b/src/commands/info/guildInfo.ts
@@ -66,7 +66,7 @@ export default class GuildInfoCommand extends BushCommand {
if (!isPreview && guild instanceof Guild) {
if (guild.premiumTier)
emojis.push(
- client.consts.mappings.otherEmojis[('BOOST_' + guild.premiumTier) as keyof typeof client.consts.mappings.otherEmojis]
+ client.consts.mappings.otherEmojis[`BOOST_${guild.premiumTier}` as keyof typeof client.consts.mappings.otherEmojis]
);
await guild.fetch();
const channelTypes = [
@@ -213,7 +213,7 @@ export default class GuildInfoCommand extends BushCommand {
guildInfoEmbed.addField('ยป Security', guildSecurity.join('\n'));
}
if (emojis) {
- guildInfoEmbed.setDescription('\u200B' /*zero width space*/ + emojis.join(' '));
+ guildInfoEmbed.setDescription(`\u200B${/*zero width space*/ emojis.join(' ')}`);
}
return await message.util.reply({ embeds: [guildInfoEmbed] });
}