We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Guild.CurrentMember is null. Exception: System.NullReferenceException. Object reference not set to an instance of an object
var guild = await client.GetGuildAsync(guildId, true); var member = client.CurrentMember; \\Null
The text was updated successfully, but these errors were encountered:
What version do you use?
Sorry, something went wrong.
When are you calling the code? Is it after you've called DiscordClient.ConnectAsync and after DiscordClient.GuildDownloadedComplete has fired?
DiscordClient.ConnectAsync
DiscordClient.GuildDownloadedComplete
No branches or pull requests
Guild.CurrentMember is null.
Exception: System.NullReferenceException. Object reference not set to an instance of an object
The text was updated successfully, but these errors were encountered: