Barista-bot is a Discord bot for the Code and Coffee Discord community. It guides new recruits through the onboarding process and makes it easy for them to join city-specific channels. For admins, Barista-bot automates the process of creating new city channels and sends notifications and reminders.
- Onboarding process for new recruits
- City-specific channels
- Automated creation of new city channels for admins
- Notifications and reminders
This project is written in Python using the discord.py framework.
- A Discord account and server
- Python 3.5.3 or higher
- discord.py
- Clone the repository and navigate to the directory:
git clone https://github.com/CodeandCoffeeCommunity/Barista-bot.git
cd Barista-bot
pip install -r requirements.txt
Set up the bot by following the Discord Developer Portal guide.
Copy the bot's token and paste it in a file called .env in the root directory of the project.
python main.py
You can deploy this project for free on Railway.app.
- Create a new project and select
Deploy from GitHub repo
. Give Railway.app access to your newly created GitHub repo. - Go to the Variables tab and add the above mentioned variable.
- Set the
Start Command
topython main.py
.
Barista bot will now be running all the time.
We welcome contributions to this project! If you have an idea for a new feature or have found a bug, please open an issue. If you'd like to contribute code, please create a pull request.
This project is licensed under the MIT License see the LICENSE file for details.