diff --git a/src/death_listener/deathMessage.ts b/src/death_listener/deathMessage.ts index 3d42ae4..01322b9 100644 --- a/src/death_listener/deathMessage.ts +++ b/src/death_listener/deathMessage.ts @@ -87,7 +87,7 @@ function sendDeathMessage(channelId: TextBasedChannel, playername: string, reaso .setColor(config.setColor) .setTitle(config.setTitle) .setDescription("[In Game] " + playername + ": " + reason) - .setAuthor({ name: "‎", iconURL: "https://i.imgur.com/FA3I1uu.png" }); + .setAuthor({ name: "‎", iconURL: config.logoURL }); if (typeof channelId === "object") { channelId.send({ embeds: [msgEmbed] }); } else { diff --git a/src/player_device_listener/playerDeviceLogging.ts b/src/player_device_listener/playerDeviceLogging.ts index e4989fe..9aa3a06 100644 --- a/src/player_device_listener/playerDeviceLogging.ts +++ b/src/player_device_listener/playerDeviceLogging.ts @@ -34,7 +34,7 @@ export function addPlayerListener(bot: Client, channelId: TextBasedChannel, Whit } if (Debug === true) { if (config.useEmbed === true) { - const msgEmbed = new EmbedBuilder().setColor([0, 255, 0]).setTitle(config.setTitle).setDescription(description).setAuthor({ name: "‎", iconURL: "https://i.imgur.com/FA3I1uu.png" }); + const msgEmbed = new EmbedBuilder().setColor([0, 255, 0]).setTitle(config.setTitle).setDescription(description).setAuthor({ name: "‎", iconURL: config.logoURL }); sendToChannel(channelId, { embeds: [msgEmbed] }, "I could not find the in-game channel in Discord. 2"); } else { sendToChannel(channelId, description, "I could not find the in-game channel in Discord. 3"); diff --git a/src/system_commands_listener/systemCommandsLogging.ts b/src/system_commands_listener/systemCommandsLogging.ts index 689821c..4516cbc 100644 --- a/src/system_commands_listener/systemCommandsLogging.ts +++ b/src/system_commands_listener/systemCommandsLogging.ts @@ -96,7 +96,7 @@ function handleTextEvent(packet: WhisperPacket | ChatPacket | JsonPacket, system if (!dontSendMessage) { const message = `[System Message] ${playerName}: ${successMessage} ${systemMessage}`; if (config.useEmbed) { - const msgEmbed = new EmbedBuilder().setColor(config.setColor).setTitle(config.setTitle).setDescription(message).setAuthor({ name: "‎", iconURL: "https://i.imgur.com/FA3I1uu.png" }); + const msgEmbed = new EmbedBuilder().setColor(config.setColor).setTitle(config.setTitle).setDescription(message).setAuthor({ name: "‎", iconURL: config.logoURL }); if (typeof systemCommandsChannelId === "object") { systemCommandsChannelId.send({ embeds: [msgEmbed] });