mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-09 23:40:18 +00:00
27 lines
920 B
JavaScript
27 lines
920 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 developers = "";
|
|
let user = "";
|
|
for(i = 0; i < client.config.devId.length; i++){
|
|
user = await client.users.fetch(client.config.devId[i]);
|
|
if(i == client.config.devId.length-1){
|
|
developers += user.tag;
|
|
} else {
|
|
developers += user.tag + " & ";
|
|
}
|
|
}
|
|
|
|
const embed = new Discord.MessageEmbed()
|
|
.setTitle(`Found a bug with ${client.user.username}?\nDM the core developer:`)
|
|
.setDescription(`${developers}\nOr join the support server: ${client.config.supportGuild}`)
|
|
.setColor(client.config.embedColor);
|
|
msg.channel.send(embed);
|
|
},
|
|
}; |