gempir / go-twitch-irc

go irc client for twitch.tv
MIT License
358 stars 59 forks source link

Userlist returns only one user (self) #180

Closed ovelir closed 2 years ago

ovelir commented 2 years ago

Func UserList returns only one user from channel (the user on whose behalf the connection was made). As far as I remember, half year ago or about it, function returned the full list of channel users. Does the user need moderator rights or other conditions for correct work?

pajlada commented 2 years ago

Func UserList returns only one user from channel (the user on whose behalf the connection was made). As far as I remember, half year ago or about it, function returned the full list of channel users. Does the user need moderator rights or other conditions for correct work?

Have you set the Capabilities field in the client to include the MembershipCapability? so before connecting:

    client.Capabilities = append(client.Capabilities, twitch.MembershipCapability)
ovelir commented 2 years ago

It works! Thank you :)