2020-03-02 19:38:42 +00:00
|
|
|
module.exports = {
|
|
|
|
name: 'bug',
|
|
|
|
alias: 'none',
|
|
|
|
usage: '',
|
|
|
|
description: 'Report a bug',
|
|
|
|
permission: 'none',
|
|
|
|
category: 'info',
|
2020-03-22 15:10:46 +00:00
|
|
|
async execute(msg, args, client, Discord, command) {
|
2020-03-12 22:53:23 +00:00
|
|
|
let message = {};
|
2020-03-22 15:10:46 +00:00
|
|
|
|
2020-03-12 22:53:23 +00:00
|
|
|
message.bugTitle = client.messages.bugTitle.replace("%client.user.username%", client.user.username);
|
|
|
|
message.bugDescription = client.messages.bugDescription.replace("%client.developers%", client.developers);
|
|
|
|
message.bugDescription = message.bugDescription.replace("%client.config.supportGuild%", client.config.supportGuild);
|
2020-03-22 15:10:46 +00:00
|
|
|
|
2020-03-02 19:38:42 +00:00
|
|
|
const embed = new Discord.MessageEmbed()
|
2020-03-12 22:53:23 +00:00
|
|
|
.setTitle(message.bugTitle)
|
2020-03-15 01:30:15 +00:00
|
|
|
.setThumbnail("https://cdn.discordapp.com/emojis/686296221433725076.png")
|
2020-03-08 23:26:24 +00:00
|
|
|
.setColor(client.config.embedColor)
|
2020-03-12 22:53:23 +00:00
|
|
|
.setDescription(message.bugDescription)
|
2020-03-15 01:30:15 +00:00
|
|
|
.setFooter('EximiaBots by Warén Media', 'https://cdn.discordapp.com/emojis/687022937978568760.png');
|
2020-03-02 19:38:42 +00:00
|
|
|
msg.channel.send(embed);
|
2020-03-22 15:10:46 +00:00
|
|
|
|
2020-03-02 19:38:42 +00:00
|
|
|
},
|
2020-03-08 14:22:00 +00:00
|
|
|
};
|