How to make a NSFW command in discord.py?
问题 I am making a discord bot and I want a NSFW command in, so I used a command that's puts a random image of a NSFW subreddit, but I need help with the detection of a NSFW channel, so this command can't be used in channels that are not nsfw, and also send a message that says "You need to use this command in a nsfw channel!" Here's my command, but there's a error in the part of "else:" async def nsfw(ctx): if ctx.channel.is_nsfw(): embed = discord.Embed(title="test", description="test") async