I’m new to python and just started coding a Discord bot for me and my friends. I used the method from the Video to detect words in a message and react to it. My code has multiple word categories like ‘sad_words’ and ‘communication_words’ etc. My problem now is, that the code detects multiple trigger words in one message. For example, the trigger words in different categories are 1. walk, run, sleep, and 2. sad and cry. If now someone writes “I sleep and cry”, the bot answers twice. My Question is there a simple way to tell the bot to ignore a category if another is mentioned before
Thanks allot!