how to check if channel is nsfw discord.py code example
Example: how to check if chat is nsfw discord.py
channel_nsfw = await self.is_nsfw(ctx.message.channel)
if channel_nsfw:
print("NSFW!")
channel_nsfw = await self.is_nsfw(ctx.message.channel)
if channel_nsfw:
print("NSFW!")