From 9388496662509c1f64a18741d1d9cd7f0119e875 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Thu, 21 Apr 2022 10:04:43 -0500 Subject: [PATCH] Remove displayAvatarURL, This has been moved to the error generator. --- commands/contributors.js | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 commands/contributors.js diff --git a/commands/contributors.js b/commands/contributors.js new file mode 100644 index 0000000..3b9dc16 --- /dev/null +++ b/commands/contributors.js @@ -0,0 +1,34 @@ +module.exports = { + + name: require('path').parse(__filename).name, + description: 'Attributions to open source components used by Anitrox', + + async execute(_0, message, _1, config){ + await message.channel.send({embed: { + "title": "Component Attribution", + "description": "Some parts of Anitrox are using open source code, and their attributions are avaliable here!", + "color": 52508, + "footer": { + "icon_url": message.author.displayAvatarURL(), + "text": config.footerTxt + }, + "thumbnail": { + "url": "https://cdn.discordapp.com/attachments/803658122299572255/838854256471703602/793885335498522685.png" + }, + "fields": [ + { + "name": "Discord.JS", + "value": "[Check out the Discord.JS project on GitHub](https://github.com/discordjs/discord.js/)" + }, + { + "name": "The Anitrox Project", + "value": "[Check out Anitrox on GitHub](https://github.com/IDeletedSystem64/anitrox)" + }, + { + "name": "You", + "value": "Using and supporting the Anitrox Project, thank you! ❤" + } + ] + }}); + } +} \ No newline at end of file