mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-09 23:00:18 +00:00
Fix embed sending part 3
This commit is contained in:
parent
3520e86f0b
commit
7db92969af
@ -17,7 +17,7 @@ module.exports = {
|
||||
.setColor(client.config.embedColor)
|
||||
.setDescription(message.bugDescription)
|
||||
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
|
||||
msg.channel.send({ embeds: embed });
|
||||
msg.channel.send({ embeds: [embed] });
|
||||
|
||||
},
|
||||
};
|
@ -24,7 +24,7 @@ module.exports = {
|
||||
.setColor(client.config.embedColor)
|
||||
.setDescription(message.helpCommandDescription)
|
||||
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
|
||||
msg.channel.send({ embeds: embed });
|
||||
msg.channel.send({ embeds: [embed] });
|
||||
} else {
|
||||
const categories = [];
|
||||
for (let i = 0; i < client.commands.size; i++) {
|
||||
@ -45,7 +45,7 @@ module.exports = {
|
||||
.setColor(client.config.embedColor)
|
||||
.setDescription(message.helpDescription)
|
||||
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
|
||||
msg.channel.send({ embeds: embed });
|
||||
msg.channel.send({ embeds: [embed] });
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -13,6 +13,6 @@ module.exports = {
|
||||
.setColor(client.config.embedColor)
|
||||
.setURL("https://discordapp.com/api/oauth2/authorize?client_id=" + client.user.id + "&permissions=3427328&scope=bot")
|
||||
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
|
||||
return msg.channel.send({ embeds: embed });
|
||||
return msg.channel.send({ embeds: [embed] });
|
||||
}
|
||||
};
|
@ -23,6 +23,6 @@ module.exports = {
|
||||
.setColor(client.config.embedColor)
|
||||
.setDescription(stations)
|
||||
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
|
||||
return msg.channel.send({ embeds: embed });
|
||||
return msg.channel.send({ embeds: [embed] });
|
||||
}
|
||||
};
|
@ -35,7 +35,7 @@ module.exports = {
|
||||
.setColor(client.config.embedColor)
|
||||
.setDescription(client.messages.sendedMaintenanceMessage)
|
||||
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
|
||||
currentRadio.textChannel.send({ embeds: cembed });
|
||||
currentRadio.textChannel.send({ embeds: [cembed] });
|
||||
client.radio.delete(radio.value);
|
||||
stoppedRadios += "-" + radio.value + ": " + currentRadio.currentGuild.guild.name + "\n";
|
||||
}
|
||||
@ -48,6 +48,6 @@ module.exports = {
|
||||
.setColor(client.config.embedColor)
|
||||
.setDescription("Stopped all radios" + "\n" + stoppedRadios)
|
||||
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
|
||||
return msg.channel.send({ embeds: embed });
|
||||
return msg.channel.send({ embeds: [embed] });
|
||||
}
|
||||
};
|
@ -25,6 +25,6 @@ module.exports = {
|
||||
.setColor(client.config.embedColor)
|
||||
.setDescription(message.nowplayingDescription)
|
||||
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
|
||||
return msg.channel.send({ embeds: embed });
|
||||
return msg.channel.send({ embeds: [embed] });
|
||||
}
|
||||
};
|
@ -34,6 +34,6 @@ module.exports = {
|
||||
.setColor(client.config.embedColor)
|
||||
.setDescription(statistics)
|
||||
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
|
||||
return msg.channel.send({ embeds: embed });
|
||||
return msg.channel.send({ embeds: [embed] });
|
||||
}
|
||||
};
|
@ -21,7 +21,7 @@ module.exports = {
|
||||
.addField(client.messages.statusField4, client.config.version, true)
|
||||
.addField(client.messages.statusField5, client.config.hostedBy, true)
|
||||
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
|
||||
msg.channel.send({ embeds: embed });
|
||||
msg.channel.send({ embeds: [embed] });
|
||||
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue
Block a user