-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No worked event "on_member_join" and "on_member_remove" #6041
Comments
Duplicate of #5867 |
You enable intents? if no, why you openned issue? ban on google? |
Also, are you use code that you provided? if ye, it is will not working of course. Use this:
|
would have been written in Google, did not ask |
I confirm that after a long-term operation of the bot, this event stops working, only restarting the bot helps. |
Discord recently released a mandatory update to their gateway requiring the usage of gateway intents. You can find documentation on this here. Member related events will no longer work due to this change by default. Since these are privileged intents you need to both enable it in your portal and in your code. For more info see the "Where’d my members go?" section in the documentation. |
@Rapptz all intentions included! The only solution that I could come up with was to use the on_message event and check the log channel for the start in it discord.MessageType.new_member
|
If you truly believe you have an issue for this (it's unlikely for this to happen, short of discord not firing the event which is either 1) a bug on Discord's end, 2) you don't have the intent enabled, or 3) the guild intents is not enabled) then feel free to open your own issue. However note what I mentioned. |
Good. Thanks! |
Summary
I'm trying to get information from event
Summary
Reproduction Steps
@client.event
async def on_member_join(mem)
print(mem)
Expected Results
info for user
Actual Results
nothing
Intents
event
Checklist
The text was updated successfully, but these errors were encountered: