mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 00:40:07 +00:00
test(main): remove auto-deletion of guilds
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user