cómo comprobar si un mensaje contiene una palabra discord.py
@bot.event
async def on_message(msg):
if 'word' in msg.content:
print('Keyword found')
# Do stuff here
cómo comprobar si el chat es nsfw discord.py
channel_nsfw = await self.is_nsfw(ctx.message.channel)
if channel_nsfw:
print("NSFW!")