From 1128269023ec90c8d5dfe7a5fb5cef2b34b9b7e6 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Tue, 13 Feb 2024 23:19:27 +0500 Subject: [PATCH] fix typo --- events/Monitoring/messageDelete.js | 4 ++-- events/Monitoring/messageUpdate.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/events/Monitoring/messageDelete.js b/events/Monitoring/messageDelete.js index 5c01ab37..8539e447 100644 --- a/events/Monitoring/messageDelete.js +++ b/events/Monitoring/messageDelete.js @@ -25,8 +25,8 @@ class messageDelete extends BaseEvent { name: message.author.getUsername(), iconURL: message.author.displayAvatarURL(), }, - title: message.translate("common:MONITORING:DELETE:TITLE", { user: message.author.getUsername() }), - description: message.translate("common:MONITORING:DELETE:DESCRIPTION", { content: message.content, channel: message.channel.toString(), time: message.createdTimestamp }), + title: message.translate("misc:MONITORING:DELETE:TITLE", { user: message.author.getUsername() }), + description: message.translate("misc:MONITORING:DELETE:DESCRIPTION", { content: message.content, channel: message.channel.toString(), time: `` }), }); message.guild.channels.cache.get(guildData.plugins.monitoring.messageDelete).send({ diff --git a/events/Monitoring/messageUpdate.js b/events/Monitoring/messageUpdate.js index 077ba95b..49adfe4e 100644 --- a/events/Monitoring/messageUpdate.js +++ b/events/Monitoring/messageUpdate.js @@ -28,8 +28,8 @@ class messageUpdate extends BaseEvent { name: newMessage.author.getUsername(), iconURL: newMessage.author.displayAvatarURL(), }, - title: newMessage.translate("common:MONITORING:UPDATE:TITLE", { user: newMessage.author.getUsername() }), - description: newMessage.translate("common:MONITORING:UPDATE:DESCRIPTION", { oldContent: oldMessage.content, newContent: newMessage.content, url: newMessage.url }), + title: newMessage.translate("misc:MONITORING:UPDATE:TITLE", { user: newMessage.author.getUsername() }), + description: newMessage.translate("misc:MONITORING:UPDATE:DESCRIPTION", { oldContent: oldMessage.content, newContent: newMessage.content, url: newMessage.url }), }); newMessage.guild.channels.cache.get(guildData.plugins.monitoring.messageUpdate).send({