mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 01:10:07 +00:00
role update cached
This commit is contained in:
@@ -48,5 +48,6 @@ export async function handleInternalGuildRoleUpdate(data: DiscordPayload) {
|
||||
if (!cachedRole) return;
|
||||
|
||||
const role = await structures.createRole(payload.role);
|
||||
guild.roles.set(payload.role.id, role);
|
||||
eventHandlers.roleUpdate?.(guild, role, cachedRole);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user