mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-17 03:38:17 +00:00
fix: guildBanRemove() event not triggered
This commit is contained in:
@@ -15,7 +15,7 @@ export async function handleInternalGuildBanAdd(data: DiscordPayload) {
|
||||
}
|
||||
|
||||
export async function handleInternalGuildBanRemove(data: DiscordPayload) {
|
||||
if (data.t !== "GUILD_BAN_ADD") return;
|
||||
if (data.t !== "GUILD_BAN_REMOVE") return;
|
||||
|
||||
const payload = data.d as GuildBanPayload;
|
||||
const guild = await cacheHandlers.get("guilds", payload.guild_id);
|
||||
|
||||
Reference in New Issue
Block a user