
This is a simple discord bot that can tell jokes. This Discord bot gets jokes from a redis database. There are commands to add a joke to the data base, get a random joke from the data base, and get a specific joke from the data base. You can also say hello to the bot, and it will greet you back!
- Clone the repository
- add .env file with DISCORD_TOKEN="bot token"
- Run
./deploy.sh
- Start an EC2 instance
sudo yum install -y git
sudo yum install -y redis6
- Clone the repo
- Add a .env file with DISCORD_TOKEN="bot token"
- Run
./aws_setup.sh
- Run
./aws_launch.sh
- To stop the Discord bot, run
./aws_stop.sh
- Start an EC2 instance
sudo yum install -y git
sudo yum install -y redis6
- Clone the repo
- Run
./aws_docker.sh
- Log out and log back in to the EC2 Instance
- Add a .env file with DISCORD_TOKEN=bot token AND REDIS_HOST=redis (NOTE: Do not put quotations around the bot token)
- Run
./dockstart.sh
- Run
docker run --name discord-bot -d --network dnet --env-file ./.env discord-bot
- To stop the Discord bot, run
./dockstop.sh
- Python - https://www.python.org
- Redis - https://redis.io
- Amazon Linux - https://aws.amazon.com/linux/amazon-linux-2023/
- Discord - https://discord.com
- Discord Developer Portal - https://discord.com/developers/docs/intro
- Docker - https://www.docker.com
https://builtin.com/software-engineering-perspectives/discord-bot-python

- Braden Kirkpatrick
- Angel Lopez