suicvne / DiscordSharp

A .Net API for Discord written in C#
MIT License
129 stars 33 forks source link

Set a Status on account #75

Closed AndreZila01 closed 2 years ago

AndreZila01 commented 2 years ago

Hey everyone i would like understand how i can set a status on my account. I try use this command await discord.UpdateStatusAsync(new DiscordActivity("!help", DSharpPlus.Entities.ActivityType.Playing), UserStatus.DoNotDisturb);, but he return this: System.NullReferenceException: 'Object reference not set to an instance of an object.'.

Is possible change status of account?

suicvne commented 2 years ago
Screen Shot 2022-08-30 at 9 01 03 AM