- Then run python main.py make sure you add necessary tokens to use it
- Enjoy happy coding.
Functions
When a new user joins a certain channel, the bot welcomes them with a message. The message contains tasks and instructions for getting started.
Scheduled Messages: The bot has the ability to plan out when and in which channels to send messages. Scheduled messages can be made and managed by it.
Reaction Task: The bot amends the welcome message to include a reaction task. After receiving feedback from users, the bot will update the message to reflect that the task has been finished.
Message Count: The bot maintains tabs on how many messages each user has sent. Users can use the command provided (/message-count) to view their current message count.
The bot determines whether a message contains any of the predetermined "bad words" Events handled by the bot include new messages, further reactions, and commands.
Using the Slack API: The bot uses the Slack library to communicate with the Slack API to send, update, schedule, and retrieve messages.
Web Server: Your bot runs the Flask web server to receive events and process commands from the Slack Events API.
I hope you enjoy and join my discord server to ask any question.