Skip to content

is_nsfw does not work #5933

Answered by AbstractUmbra
nonetrix asked this question in Q&A
Oct 15, 2020 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

'discord.py rewrite' is not dead, but discord.py has not been referred to as this for many years now. You're actually within the repo right now and our doc can be found here.

Currently we're on version 1.5, known as latest if you'd prefer a name for it.

DMChannels do not have an NSFW filter on them, and as such this check will be invalid. You should check for the channel being a non-Guild channel before doing this to prevent this error.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nonetrix
Comment options

Answer selected by Rapptz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants