mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
fix typo
This commit is contained in:
parent
6479d434a7
commit
1128269023
2 changed files with 4 additions and 4 deletions
|
@ -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: `<t:${Math.floor(message.createdTimestamp / 1000)}:f>` }),
|
||||
});
|
||||
|
||||
message.guild.channels.cache.get(guildData.plugins.monitoring.messageDelete).send({
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue