Closed SouDescolado closed 2 years ago
Unfortunately JOIN events don't have tags sent with them. So what you get is a Partial User, though thanks for finding the bug in is_mod, that shouldn't error.
Also you are using 2.0 which is currently in alpha status and does not have documentation. The documentation you are reading is from the previous release.
Describe the bug While trying to grab user information when it joins the channel, it returns empty tags and gives error when trying to check for mod.
Are you using TwitchIO within a Discord Bot? No
What commit of TwitchIO are you using?
pip show twitchio
Version 2.0.0a1To Reproduce Steps to reproduce the behaviour:
It returns
Expected behaviour The same thing when you check during messages. With the code:
It returns
Screenshots None needed I think
(please complete the following information):
Additional context Also, there is a lack of the "badges" attribute on user, and the documentation mentions that event_join just need the
user
, when it actually needs bothchannel
anduser