Skip to content

A bot for the Austin Community College student Discord server.

Notifications You must be signed in to change notification settings

tylovejoy/acc-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fb3a0ab · Aug 24, 2021

History

50 Commits
Jul 4, 2021
Jul 3, 2021
Jul 5, 2021
Apr 26, 2021
Aug 24, 2021
Apr 26, 2021
Apr 21, 2021
Jul 4, 2021
Jul 4, 2021
Jul 3, 2021
Apr 22, 2021
Jul 4, 2021
Apr 26, 2021
Jul 4, 2021

Repository files navigation

Requirements

  • Git
  • Python 3.9 or later (you may need to add a specific PPA, so please ask if you are confused) You can have multiple Python versions (2.x and 3.x) installed on the same system without problems.

In Ubuntu, Mint and Debian you can install Python 3.9 like this:

$ sudo apt-get install python3.9

For other Linux flavors, macOS and Windows, packages are available at

https://www.python.org/getit/

Quick Start

Clone the repository into your preferred directory

$ git clone https://github.com/tylovejoy/acc-bot.git

Create a virtual environment in that same directory

$ python3.9 -m venv venv

Activate the virtual environment

$ source venv/bin/activate
(venv) $

Change directory to acc-bot

(venv) $ cd acc-bot

Install requirements.txt

(venv) $ pip install -r requirements.txt

Create .env file in the acc-bot root folder

(venv) $ touch .env
(venv) $ nano .env

The .env file should have the bot token (which will be securely sent to you)

BOT_TOKEN = "some_token_here"

Run the bot in the terminal

(venv) $ python main.py