Skip to content
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

Open
Lukemul6 opened this issue Nov 25, 2019 · 3 comments
Open

Doesn't detect keywords #2

Lukemul6 opened this issue Nov 25, 2019 · 3 comments

Comments

@Lukemul6
Copy link

Bot is online, no errors. But doesn't detect the keywords or post anything. Yes I have edited everything and testing by posting webhooks.

@R0nson
Copy link

R0nson commented Dec 15, 2019

I have the same issue

@classicgrey
Copy link

same

@Toysrfun
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants