Chatbot named and inspired by the Sonny character from the "I, Robot" movie of 2004, and used on my Twitch channel.
- List of commands: provide a list of available commands to the chat using !cmd.
- Commands module: create custom commands to interact with the chat.
- Greetings module: automatically welcomes viewers to the chat.
- Pride module: bunch of commands to celebrate the LGBTQIA+ community with their flags.
- Stylished logs: use colored logs to improve readability and debugging.
- Modular design: separate the bot's features into modules for better organization and maintenance.
- Code formatting and linting: maintain the codebase clean and organized using Black and iSort.
- Environment variables: store sensitive information in a .env file for security.
- Heroku deployment: deploy the chatbot to Heroku for continuous operation.
- Documentation: provide a detailed explanation of the chatbot's features and usage.
- Chatbot
- Documentation
- Clone the repository:
git clone https://github.com/Superp0sit1on/sonny.git
- Install the dependencies:
pipenv install
- Create a
.env
file in the root directory with your chatbot credentials and definitions. Example:
TOKEN=oauth:****
NICKNAME=s0nny_bot
CHANNELS=superp0sit1on
BOTS=streamlabs, pokemoncommunitygame
Tip
You can get your chatbot token from the Twitch Apps TMI website.
- Run the local environment:
pipenv run bot
Important
Don't forget to grant mod privileges with /mod nameofyourbot
to your chatbot on your Twitch channel if it runs under a different account.
Currently hosted on Heroku and running 24/7, you can check our Heroku deployment documentation for more info on how to deploy the chatbot to Heroku.
Feel free to open an issue if you find a bug or have a suggestion.
Important
Fill out the issue template accordingly for accurate and faster responses.
See CONTRIBUTING.md.
See CODE_OF_CONDUCT.md.
Copyright © 2024 Júlio Martins