This commit is contained in:
Jonny_Bro (Nikita) 2023-07-10 21:02:38 +05:00
parent e4e5e6b03f
commit 741fd8d3d5

View file

@ -23,7 +23,7 @@ class messageUpdate extends BaseEvent {
const guildData = await client.findOrCreateGuild({ id: oldMessage.guildId });
if (guildData.plugins.monitoring.messageUpdate) {
if (guildData.plugins?.monitoring?.messageUpdate) {
const embed = new EmbedBuilder()
.setAuthor({
name: newMessage.author.getUsername(),