test(main): remove auto-deletion of guilds

This commit is contained in:
ayntee
2021-03-01 21:57:59 +04:00
parent 832cb63460
commit 585ed283fe

View File

@@ -59,14 +59,6 @@ Deno.test({
intents: ["GUILD_MESSAGES", "GUILDS"],
});
eventHandlers.ready = () => {
if (cache.guilds.size >= 10) {
cache.guilds.map((guild) =>
guild.ownerID === botID && deleteServer(guild.id)
);
}
};
// Delay the execution by 5 seconds
await delay(5000);