Merge pull request #217 from WallyThePenguin/patch-1

Fixing Bug on line 40
This commit is contained in:
Skillz4Killz
2020-12-03 12:33:18 -05:00
committed by GitHub

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) => {