discordgo icon indicating copy to clipboard operation
discordgo copied to clipboard

Member.Roles doesn't change when a member's roles change

Open chebureki opened this issue 4 years ago • 1 comments

The roles in the member struct stay the same, even though a member received a new role for example.

chebureki avatar Nov 24 '20 14:11 chebureki

I don't mean as in the same struct

it is called from two separate occasions, but although the member has a new role the roles stay the same :/ member, err := session.State.Member(gid, uid)

chebureki avatar Nov 24 '20 14:11 chebureki