fix setFooter deprecation issues
This commit is contained in:
3 files changed
+5
-5
No files matched your search
@@ -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] });
|
||||
},
|
||||
},
|
||||
|
||||
+1
-1
@@ -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] });
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user