📌  相关文章
📜  如何检查消息是否包含单词 discord.py - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:12.748000             🧑  作者: Mango

代码示例1
@bot.event
async def on_message(msg):
    if 'word' in msg.content:
        print('Keyword found')
        # Do stuff here