Skip to content

Filter guild members by rank: exclude "invited" from guild sync! #156

@brybrant

Description

@brybrant

Guild sync gives role to people invited (but not yet accepted invite) to a guild.

self.members = {r["name"]: r["rank"] for r in results}

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions