Skip to content

Commit

Permalink
fix: tweak discord role update logic further
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Trost <[email protected]>
  • Loading branch information
galexrt committed Oct 9, 2024
1 parent e88c338 commit ea42f10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/discord/types/calculate.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ func (s *State) calculateRoles(dc *state.State) (*PlanRoles, []discord.Embed, er
if role.Color == dcRole.Color && role.Permissions == dcRole.Permissions {
continue
}
role.Color = dcRole.Color
role.Permissions = dcRole.Permissions

pr.ToUpdate = append(pr.ToUpdate, role)
}
Expand Down

0 comments on commit ea42f10

Please sign in to comment.