Skip to content
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

on_member_join with intents #6030

Closed
eljequercin opened this issue Nov 10, 2020 · 2 comments
Closed

on_member_join with intents #6030

eljequercin opened this issue Nov 10, 2020 · 2 comments
Labels
intents related User provided bad/invalid intents

Comments

@eljequercin
Copy link

Hello there!

I have been using discord.py for a while, but now I'm having problems with on_member_join with the new intents

`import discord
from discord.ext import commands
from discord.utils import get

intents = discord.Intents.default()
intents.all = True

@client.event
async def on_member_join(members):

print("Hey")


embed= discord.Embed(title= 'My Embed',description=desc,colour= discord.Colour.red())

await members.send(embed=embed)

`

Before the update it worked properly, but now with intents I can't make it works

@SebbyLaw
Copy link
Contributor

SebbyLaw commented Nov 10, 2020

Duplicate of #5867

Please don't delete the issue template. It is there for a reason.

For further help specific to using this library, you should join either the official discord.py server or the Discord API server, as the README recommends.

@parafoxia
Copy link
Contributor

In your case, just use discord.Intents.all().

@Rapptz Rapptz added the intents related User provided bad/invalid intents label Nov 13, 2020
@Rapptz Rapptz closed this as completed Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
intents related User provided bad/invalid intents
Projects
None yet
Development

No branches or pull requests

4 participants