mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-12-27 04:15:38 -05:00
Auto-populate the embed from whitelist instead.
This commit is contained in:
parent
51ce81f417
commit
41b2b7abd5
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user