Skip to content

Function with Event GUILD_MEMBER_ADD #1179

Answered by key2peace
JGdmd asked this question in Q&A
Discussion options

You must be logged in to vote

have you done this as well?

use Discord\Discord;
use Discord\WebSockets\Intents;

$discord = new Discord([
	'token' => 'xxx',
	'intents' => Intents::getDefaultIntents() | Intents::GUILD_MEMBERS,
]);

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JGdmd
Comment options

Answer selected by JGdmd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants