GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - OpenCourseAPI/OpenCourseBot: A handy discord bot for college-related information such as classes, professors, and statistics ✨

BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
.vscode
.vscode
 
 
bots
bots
 
 
.gitignore
.gitignore
 
 
.prettierignore
.prettierignore
 
 
.prettierrc
.prettierrc
 
 
.replit
.replit
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
poetry.lock
poetry.lock
 
 
poetry.toml
poetry.toml
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

OpenCourseBot

This is a handy discord bot for college-related functionality such as information about classes, professors, and general statistics.

Features

  • Search college class data such as subjects, courses, classes, and seats (powered by OpenCourseAPI)
  • Search professors, including ratings
  • Search class grade distributions
  • Search ASSIST transfer reports
  • Search UC Transfer Statistics

Development

The commands and features of the bot are split accross two separate bots, which run on Python 3+ and Node.js respectively.

Setup

Node.js

Install Node.js v12+ and npm, and then install packages with:

npm install

Python

Install Python 3.7+ and poetry, and then install packages with:

poetry install

Configuration

Create a file called .env with the following content:

BOT_TOKEN=<discord bot token>
BOT_OWNERS=<comma separated Discord user IDs>
BOT_PREFIX=<command prefix>

Start

Run the following command to start both bots:

poetry shell
npm start

Lint

Use the following commands to lint the code:

Node.js

npm run lint # only check
npm run lint:fix # check and fix

Python

poetry shell
black ./bots/py # check and fix errors

Contribute

All contributions are welcome! Feel free to get started by opening an issue or pull request.

Core Team

  • Madhav Varshney
  • David Tso

License

MIT License

About

A handy discord bot for college-related information such as classes, professors, and statistics ✨

Resources

Readme
MIT license
Activity
Custom properties

Stars

1 star

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.