Skip to content

How to get user.id from event_join? #309

Discussion options

You must be logged in to vote

It can be fetched.

    async def event_join(self,channel,user):
        userdata = await self.fetch_users([user.name])
        print(userdata[0].id)

Thanks for the help in discord.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by MasterRelaxa
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IRC IRC related items. 2.0 TwitchIO 2.0
2 participants