Skip to main content

intro

Getting Started​

Get started by cloning the repository.

What you'll need​

Setting up the enviornment​

Navigate to the Python folder

Install requirements with pip install -r requirements.txt

Create a file instead of the Python folder called config.json

The config.json should contain five values: DiscordToken, Prefix, SupaUrl, SupaKey, GPTKey

For example: {"DiscordToken": "xxx", "Prefix": "x", "SupaUrl": "xxx", "SupaKey": "xxx", "GPTKey": "xxx"}

DiscordToken is the Discord Bot Token, Prefix is any character use for bot commands, SupaUrl is the Supabase project URL, SupaKey is the Supabase project key, and GPTKey is the OpenAI API token.

Start up the bot​

In the Python directory run: python3 main.py

Congradulations! Your Classroom Bot is now running!