mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 19:28:17 +00:00
Merge branch 'master' of https://github.com/discordeno/discordeno into next
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