Does on_member_join not fire for Twitch Sub Enabled Servers?
#10366
Unanswered
EggsAndSham
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks, I've hit a wall trying to debug why my
on_member_joinlistener isn't firing for specific users.I have the proper intents enabled and in my test server it works for every user that joins, every time they join.
When running the same code for a bot in a "real" server, it works much less often. The first thing I do in the function itself is log some information, and that line doesn't get hit- so I think the function is never being called for this subset of users at all.
So far the only clue I've found is that it seems to stop working when the user is subscribed to the Twitch channel that is connected to the Discord server in question and has their Twitch account linked to their Discord account. I tested this by:
I haven't dug at all into how the Twitch integration works (Maybe they're doing some sort of pseudo-adding-users-to-servers thing when someone links their accounts? Maybe it's when the subscription would grant them some preexisting roles in the server they'd be joining?), but I was curious to see if anyone else had run into this before or had any advice.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions