mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
test(main): remove auto-deletion of guilds
This commit is contained in:
@@ -59,14 +59,6 @@ Deno.test({
|
|||||||
intents: ["GUILD_MESSAGES", "GUILDS"],
|
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
|
// Delay the execution by 5 seconds
|
||||||
await delay(5000);
|
await delay(5000);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user