diff --git a/commands/channels.js b/commands/channels.js index 4d8ca21..89e6e56 100644 --- a/commands/channels.js +++ b/commands/channels.js @@ -38,7 +38,7 @@ module.exports = { .addFields( { name: `There are currently ${guild.server.allowedChannels.length} allowed channels.`, value: `Channels:${channels}`, inline: true }, ) - .setFooter('LPS Website Support', client.config.IconURL, 'https://discord.gg/jgUW656v2t') + .setFooter({ text: 'LPS Website Support', iconURL: client.config.IconURL, proxyIconURL: 'https://discord.gg/jgUW656v2t' }) return interaction.send({ embeds: [channelsEmbed] }); }, }, diff --git a/commands/roles.js b/commands/roles.js index eeece0f..81a62fe 100644 --- a/commands/roles.js +++ b/commands/roles.js @@ -40,7 +40,7 @@ module.exports = { .addFields( { name: `There are currently **${guild.server.allowedRoles.length}** allowed roles.`, value: `\`${roles}\``, inline: true }, ) - .setFooter('LPS Website Support', client.config.IconURL, 'https://discord.gg/jgUW656v2t') + .setFooter({ text: 'LPS Website Support', iconURL: client.config.IconURL, proxyIconURL: 'https://discord.gg/jgUW656v2t' }) return interaction.send({ embeds: [rolesEmbed] }); }, }, diff --git a/structures/LinesPoliceCadBot.js b/structures/LinesPoliceCadBot.js index ab6b9be..adef1dd 100644 --- a/structures/LinesPoliceCadBot.js +++ b/structures/LinesPoliceCadBot.js @@ -237,9 +237,9 @@ class LinesPoliceCadBot extends Client { .setTitle("An error occured") .setColor("RED") .setDescription(Error) - .setFooter( - "If you think this as a bug, please report it in the support server!" - ); + .setFooter({ + text: "If you think this as a bug, please report it in the support server!" + }); Channel.send(embed); }