Update guildDelete.js to use correct property name for deleting schemas

This commit is contained in:
ImTheGh0st 2024-02-04 19:14:17 +00:00
parent d36a7798f1
commit bda900d98c

View file

@ -72,6 +72,6 @@ module.exports = async (client, guild) => {
})
for (const schema of schemas) {
await schema.deleteMany({ guildID: guild.id });
await schema.deleteMany({ Guild: guild.id });
}
};