mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
ah
This commit is contained in:
parent
02e31e8d9a
commit
0ac8ecddac
1 changed files with 2 additions and 0 deletions
|
@ -376,6 +376,8 @@ module.exports = client => [
|
||||||
id: guild.id,
|
id: guild.id,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (guildData.plugins.monitoring === undefined) guildData.plugins.monitoring = {};
|
||||||
|
|
||||||
guildData.plugins.monitoring.messageUpdate = newData !== "" ? newData : null;
|
guildData.plugins.monitoring.messageUpdate = newData !== "" ? newData : null;
|
||||||
guildData.markModified("plugins.monitoring");
|
guildData.markModified("plugins.monitoring");
|
||||||
await guildData.save();
|
await guildData.save();
|
||||||
|
|
Loading…
Reference in a new issue