DiscordClient.UserJoined does not appear to be firing anymore
See original GitHub issueFor some time now it appears, that the DiscordClient.UserJoined event is no longer firing.
I am registering my event like this:
DiscordClient.UserJoined += OnUserJoined;
The event is defined as:
protected Task OnUserJoined(SocketGuildUser user)
{
return Task.Factory.StartNew(() =>
{
[...]
});
}
Other events fire fine. However this specific event does not appear to be firing when a new user joins a server the bot is on. It does not hit any debug points.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
User related events aren't firing · Issue #1675 · discord-net ...
Hi all, A bot of mine that has been working perfectly for months recently stopped ... UserJoined += OnUserJoin; // Doesn't work client....
Read more >Discord.NET: UserJoined Event not being called
I'm building a Discord bot using Discord.NET which is supposed to report a user joining, leaving, being kicked and being banned to a...
Read more >API Reference - nextcord
This only fires if you do not specify any listeners for command error. ... and is an analogue of user's voice latencies as...
Read more >Untitled
This is causing a few ... bluestone sunday lunch WebThe error is showing you that ... code examples Web28 ott 2020 · guildMemberAdd...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just got it working by enabling the intents on the dev dashboard of the bot in discord. So yeah nightly build isnt needed. Thanks for the help 😃
Indeed, but searching for a solution for that had always lead me to allowing privileged intents, despite having them allowed the whole time, so hopefully someone will find the solution now.