role update cached

This commit is contained in:
Skillz
2020-10-27 15:55:58 -04:00
parent b65c31dcb2
commit d1210dae9d

View File

@@ -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);
}