mirror of
https://github.com/System-End/Discord-Bot.git
synced 2026-04-19 20:55:16 +00:00
Update guildDelete.js to use correct property name for deleting schemas
This commit is contained in:
parent
d36a7798f1
commit
bda900d98c
1 changed files with 1 additions and 1 deletions
|
|
@ -72,6 +72,6 @@ module.exports = async (client, guild) => {
|
||||||
})
|
})
|
||||||
|
|
||||||
for (const schema of schemas) {
|
for (const schema of schemas) {
|
||||||
await schema.deleteMany({ guildID: guild.id });
|
await schema.deleteMany({ Guild: guild.id });
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Loading…
Add table
Reference in a new issue