discord-net / Discord.Net

An unofficial .Net wrapper for the Discord API (https://discord.com/)
https://discordnet.dev
MIT License
3.29k stars 741 forks source link

NSFW detection does not work #800

Closed sjennison closed 7 years ago

sjennison commented 7 years ago

Channel.isNsfw() appears to always return false. Additionally, the RequireNSFW precondition fails for the same reason.

foxbot commented 7 years ago

This is due to a change in the API for NSFW channels - currently tracking on #771.

Bumping priority up a level since this is now a bug.

sjennison commented 7 years ago

Thanks for the quick response!

foxbot commented 7 years ago

This should be resolved as of 182f00f8ce51d3e350d1793dc016474751f63f75

Note that this fix is currently only available on the nightly build of Discord.Net 1.1.0, so you'll need to include our MyGet feed and update your project in order to use this fix.