diff --git a/Commands/close.js b/Commands/close.js index d5f85ec..83fd8ef 100644 --- a/Commands/close.js +++ b/Commands/close.js @@ -103,7 +103,10 @@ module.exports = new Command({ const transcriptEmbed = new Discord.MessageEmbed() .setTitle(supportbot.TranscriptTitle) .setColor(supportbot.EmbedColour) - .setFooter(supportbot.EmbedFooter) + .setFooter({ + text: supportbot.EmbedFooter, + iconURL: interaction.user.displayAvatarURL(), + }) .addField( "Ticket", `${interaction.channel.name} (${interaction.channel.id})` @@ -119,7 +122,10 @@ module.exports = new Command({ const logEmbed = new Discord.MessageEmbed() .setTitle(supportbot.TicketLog_Title) .setColor(supportbot.EmbedColour) - .setFooter(supportbot.EmbedFooter) + .setFooter({ + text: supportbot.EmbedFooter, + iconURL: interaction.user.displayAvatarURL(), + }) .addField( "Ticket", `${interaction.channel.name} (${interaction.channel.id})` diff --git a/Commands/help.js b/Commands/help.js index d13c205..c8d4d13 100644 --- a/Commands/help.js +++ b/Commands/help.js @@ -58,7 +58,10 @@ module.exports = new Command({ ) .setColor(supportbot.EmbedColour) - .setFooter(supportbot.EmbedFooter, interaction.user.displayAvatarURL()); + .setFooter({ + text: supportbot.EmbedFooter, + iconURL: interaction.user.displayAvatarURL(), + }); if ( interaction.member.roles.cache.has(SupportStaff.id) || diff --git a/Commands/suggest.js b/Commands/suggest.js index 381929a..7e37b13 100644 --- a/Commands/suggest.js +++ b/Commands/suggest.js @@ -45,7 +45,10 @@ module.exports = new Command({ .addField("Suggestion", suggestion, true) .addField("From", `<@${interaction.user.id}>`) .setThumbnail(interaction.user.displayAvatarURL()) - .setFooter(supportbot.EmbedFooter, interaction.user.displayAvatarURL()) + .setFooter({ + text: supportbot.EmbedFooter, + iconURL: interaction.user.displayAvatarURL(), + }) .setColor(supportbot.EmbedColour); const suggestionMsg = await suggestChannel.send({ embeds: [SuggestEmbed] }); diff --git a/Events/ready.js b/Events/ready.js index 363fada..2550984 100644 --- a/Events/ready.js +++ b/Events/ready.js @@ -162,7 +162,10 @@ module.exports = new Event("ready", async (client) => { let embed = new Discord.MessageEmbed() .setTitle(panelconfig.PanelTitle) .setColor(supportbot.SuccessColour) - .setFooter(supportbot.EmbedFooter); + .setFooter({ + text: supportbot.EmbedFooter, + iconURL: interaction.user.displayAvatarURL(), + }); if (panelconfig.TicketPanel_Description) { embed.setDescription(panelconfig.PanelMessage);