eximiabots-radiox/commands/bug.js
2020-04-04 07:32:25 +03:00

23 lines
892 B
JavaScript

module.exports = {
name: 'bug',
alias: 'none',
usage: '',
description: 'Report a bug',
permission: 'none',
category: 'info',
async execute(msg, args, client, Discord, prefix) {
let message = {};
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);
const embed = new Discord.MessageEmbed()
.setTitle(message.bugTitle)
.setColor(client.config.embedColor)
.setDescription(message.bugDescription)
.setFooter('EximiaBots by Warén Media');
msg.channel.send(embed);
},
};