-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't detect keywords #2
Comments
I have the same issue |
same |
The code provided is for a discord bot written in python using discord.py library which listens for new messages in a discord server and checks for specific keywords in the message. It also uses a log library for logging. The bot reads from a txt file the channels to monitor, role to notify, keywords to check for and the negatives to ignore. The bot checks the messages for keywords by reading the keywords from a txt file and checking if the message contains any of the keywords, if it does the bot notifies the role to notify. The bot uses the client.run method to run the bot by providing the token of the bot. The bot also uses the log library to log, it logs the status of the bot, keyword matches and errors. The bot is functional, but it's important to note that this bot doesn’t appear to be protected against malicious use and it may not be efficient if the server is large. |
Bot is online, no errors. But doesn't detect the keywords or post anything. Yes I have edited everything and testing by posting webhooks.
The text was updated successfully, but these errors were encountered: