GW2Bot
GW2Bot copied to clipboard
Filter guild members by rank: exclude "invited" from guild sync!
Guild sync gives role to people invited (but not yet accepted invite) to a guild.
https://github.com/Maselkov/GW2Bot/blob/9c3c5ff8254942edb92a0f0fabf400fd793d05b8/guildwars2/guild/sync.py#L175
Please filter the array of guild members by rank, excluding any members with the rank invited
(in all lowercase) before assigning roles.
(the game forces guild rank names to be capitalized, so this check should not confuse "invited" with "Invited")
Original bug report: https://discord.com/channels/315519685732990986/315816188938682369/1230523829743521812