message: fix(controllers): delete role from cache before emitting the "roleDelete" event
diff: @@ -29,10 +29,10 @@ export async function handleInternalGuildRoleDelete(data: DiscordPayload) {
  if (!guild) return;
  const cachedRole = guild.roles.get(payload.role_id)!;
  - if (cachedRole) eventHandlers.roleDelete?.(guild, cachedRole);
  -
  guild.roles.delete(payload.role_id);
  + if (cachedRole) eventHandlers.roleDelete?.(guild, cachedRole);
  +
  // For bots without GUILD_MEMBERS member.roles is never updated breaking permissions checking.
  cacheHandlers.forEach("members", (member) => {
  // Not in the relevant guild so just skip.
  