So überprüfen Sie, ob eine Nachricht eine Wort diskordt.py enthält

@bot.event
async def on_message(msg):
    if 'word' in msg.content:
        print('Keyword found')
        # Do stuff here
Dead Dunlin