Skip to content

cs220s24/ART-DiscordBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Art Display Discord Bot

This project is for running a discord bot that display art using discord.py

Setup Discord Bot

Set-Up Locally

  1. Clone Github Repo into the perfered directory
  2. Cd into ART-DiscordBot
  3. Add .env file with
DISCORD_TOKEN={Your Token Here}
REDIS_HOST=localhost
  1. Run python3 -m venv .venv
  2. Run source .venv/bin/activate
  3. Run pip install -r requirements.txt
  4. Run redis-server in a new terminal window
  5. Run python3 bot.py

Closing Bot

  1. Press control + c to close bot
  2. Run "redis-cli shutdown" to shutdown redis database

Set Up on AWS

  1. Run Sudo yum install git
  2. Run Sudo yum install pip
  3. Clone Github Repo
  4. Cd into ART-DiscordBot
  5. Add .env file with
DISCORD_TOKEN={Your Token Here}
REDIS_HOST=redis
  1. Run python3 -m venv .venv
  2. Run source .venv/bin/activate
  3. Run pip install -r requirements.txt
  4. Run Sudo yum install -y redis6
  5. Run redis6-server
  6. Run python3 bot.py

Setup on AWS through Docker

  1. Run Sudo yum install -y git
  2. Clone repo
  3. CD into ART-DiscordBot
  4. Run chmod +x setup.sh and chmod +x startbot.sh to add executable permissions
  5. Run ./setup.sh
  6. Add .env with
DISCORD_TOKEN={Your Token Here}
REDIS_HOST=redis
  1. Log out and log back into EC2 Instance
  2. CD into ART-DiscordBot
  3. Run ./startbot.sh

Resources Used

Project By

  • Marena Abboud
  • Giovanny Teran
  • Vicente Rivera

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •