mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-21 20:54:58 +05:00
fixies
This commit is contained in:
parent
e4e5e6b03f
commit
741fd8d3d5
1 changed files with 1 additions and 1 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue