From f2fd51a3f3c25579973e94e8699a1886f66349af Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@users.noreply.github.com> Date: Tue, 26 Sep 2023 20:52:56 +1000 Subject: [PATCH] Tweak contributor.ts --- src/commands/contributors.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/commands/contributors.ts b/src/commands/contributors.ts index 6200f3f..6a1b02c 100644 --- a/src/commands/contributors.ts +++ b/src/commands/contributors.ts @@ -5,8 +5,10 @@ export default { run(client: TClient, interaction: Discord.ChatInputCommandInteraction<'cached'>){ interaction.reply({embeds: [new client.embed().setColor(client.config.embedColor).setTitle('Daggerbot contributors').setDescription(MessageTool.concatMessage( '**Thanks to those below that contributed to/developed the bot!**', - client.config.contribList.map(id=>{const member = interaction.guild.members.cache.get(id); return `${member?.user?.username ?? 'N/A'} <@${id}>`}).join('\n') - ))]}) + client.config.contribList.map(id=>{ + const member = interaction.guild.members.cache.get(id); + return `${member?.user?.username ?? 'N/A'} <@${id}>`} + ).join('\n')))]}) }, data: new Discord.SlashCommandBuilder() .setName('contributors')