qeled / discordie

Predictable JavaScript abstractions for Discord API.
https://qeled.github.io/discordie/
BSD 2-Clause "Simplified" License
190 stars 45 forks source link

Get channel NSFW state #102

Closed PhunStyle closed 7 years ago

PhunStyle commented 7 years ago

Discord changed the way NSFW marking works and no longer adds nsfw- as a prefix to channels, so name checking is obsolete.

Haven't seen anything in the official api docs yet, but some other libs are adding this functionality. https://github.com/Rapptz/discord.py/commit/6e0902ef57a5d1d4afb7581f2188e8b9e25c457d https://github.com/DV8FromTheWorld/JDA/commit/2e11477612376300dc6b21b5e8fed216c07bc7b8