diff --git a/src/commands/contributors.ts b/src/commands/contributors.ts index 1dac52b..e53e4d3 100644 --- a/src/commands/contributors.ts +++ b/src/commands/contributors.ts @@ -3,15 +3,8 @@ import TClient from '../client.js'; export default { run(client: TClient, interaction: Discord.ChatInputCommandInteraction<'cached'>){ interaction.reply({embeds: [new client.embed().setColor(client.config.embedColor).setTitle('Daggerbot contributors').setDescription([ - '**Thanks to those below that contributed to the bot!**', - 'Toast <@190407856527376384>', - 'TÆMBØ <@615761944154210305>', - 'Buzz <@593696856165449749>', - 'Monster <@215497515934416896>', - 'RainbowDave <@141304507249197057>', - 'Hitchhiker <@506022868157595648>', - 'RedRover92 <@633345781780185099>', - 'Nawdic <@178941218510602240>' + '**Thanks to those below that contributed to/developed the bot!**', + `${client.config.whitelist.map(id=>{const member = interaction.guild.members.cache.get(id) as Discord.GuildMember; return `${member.user.username} <@${id}>`}).join('\n')}` ].join('\n'))]}) }, data: new SlashCommandBuilder()