-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
51d4151
commit 88d5541
Showing
3 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module.exports = { | ||
name: 'credits', | ||
description: 'People who helped in the development', | ||
async execute(client, message) { | ||
const developers = (await Promise.all(client.config.developers.map(async id => (await client.users.fetch(id)).tag))).join('\n'); | ||
const specialThanksUsers = (await Promise.all(client.config.specialThanksUsers.map(async id => (await client.users.fetch(id)).tag))).join('\n'); | ||
message.channel.send({ | ||
embeds: [{ | ||
title: 'Credits', | ||
fields: [ | ||
{ name: '<:VerifiedBotDev:855104541967384616> Developers', value: developers, inline: true }, | ||
{ name: '⭐ Special Thanks', value: specialThanksUsers, inline: true } | ||
], | ||
color: client.config.color | ||
}] | ||
}); | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
module.exports = { | ||
name: 'credits', | ||
async execute(client, interaction) { | ||
const developers = (await Promise.all(client.config.developers.map(async id => (await client.users.fetch(id)).tag))).join('\n'); | ||
const specialThanksUsers = (await Promise.all(client.config.specialThanksUsers.map(async id => (await client.users.fetch(id)).tag))).join('\n'); | ||
interaction.reply({ | ||
embeds: [{ | ||
title: 'Credits', | ||
fields: [ | ||
{ name: '<:VerifiedBotDev:855104541967384616> Developers', value: developers, inline: true }, | ||
{ name: '⭐ Special Thanks', value: specialThanksUsers, inline: true } | ||
], | ||
color: client.config.color | ||
}] | ||
}); | ||
} | ||
}; |