Remove displayAvatarURL, This has been moved to the error generator.
This commit is contained in:
parent
2bd2c95e39
commit
9388496662
|
@ -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! ❤"
|
||||
}
|
||||
]
|
||||
}});
|
||||
}
|
||||
}
|
Reference in New Issue