Update MessageEmbed .setFooter to newest Discord.js

This commit is contained in:
Christer Warén
2022-04-06 12:35:58 +03:00
parent 5be65b7d28
commit f2569776df
12 changed files with 45 additions and 12 deletions

View File

@ -37,7 +37,10 @@ module.exports = {
.setColor(client.config.embedColor)
.setDescription(client.messages.messageCommandsDeprecatedDescription)
.setImage('https://waren.io/berriabot-temp-sa7a36a9xm6837br/images/empty-3.png')
.setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
.setFooter({
text: client.messages.footerText,
iconURL: "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, '')
});
let msg = await message.channel.send({ embeds: [embed] });