는 방법을 확인하는 메시지를 포함한 말씀 discord.py
@bot.event
async def on_message(msg):
if 'word' in msg.content:
print('Keyword found')
# Do stuff here
는 방법을 확인하는 경우 채팅 nsfw discord.py
channel_nsfw = await self.is_nsfw(ctx.message.channel)
if channel_nsfw:
print("NSFW!")