Fixing Bug on line 40

This commit is contained in:
Waleed
2020-12-03 12:04:17 -05:00
committed by GitHub
parent 3c63b7d1f2
commit b571cc3ae6

View File

@@ -37,7 +37,7 @@ export async function handleInternalGuildCreate(
}
export async function handleInternalGuildDelete(data: DiscordPayload) {
if (data.t !== "GUILD_CREATE") return;
if (data.t !== "GUILD_DELETE") return;
const payload = data.d as GuildDeletePayload;
cacheHandlers.forEach("messages", (message) => {