mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 17:00:08 +00:00
fix(controllers/roles): emit roleDelete only once (#486)
* Update roles.ts * delete role after event * Update roles.ts * Update roles.ts
This commit is contained in:
@@ -46,8 +46,6 @@ export async function handleInternalGuildRoleDelete(data: DiscordPayload) {
|
||||
cacheHandlers.set("members", member.id, member);
|
||||
});
|
||||
});
|
||||
|
||||
eventHandlers.roleDelete?.(guild, cachedRole);
|
||||
}
|
||||
|
||||
export async function handleInternalGuildRoleUpdate(data: DiscordPayload) {
|
||||
|
||||
Reference in New Issue
Block a user