Skip to content

A bot for the course SSC0902's (computer architecture and organization) discord server, that gives the students exercises to study, as well as their ideal answers.

Notifications You must be signed in to change notification settings

LuisHDantas/discord-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord-bot

A bot for the course SSC0902's (computer architecture and organization) discord server, that answers the most common questions for the students, as well as supporting their study with exercises about every topic in the course.

Developed in association with Eduarda Neumann and João Gabriel Nazar

instalation

  1. Clone the repository:

    git clone https://github.com/LuisHDantas/discord-bot.git

  2. Enter the directory:

    cd discord-bot

  3. Create a virtual enviroment:

    python3 -m venv venv

  4. Activate the virtual enviroment:

    source venv/bin/activate

  5. Install the dependencies:

    pip install -r requirements.txt

execution

  1. Run:

    python src/main.py

add the bot to a server

  1. Acess the link

    https://discord.com/api/oauth2/authorize?client_id=491404792778719242&permissions=8&scope=bot

  2. In the open tab, select the server to add.

change Discord Token

  1. On main.py, make sure to set "DISCORD_TOKEN" to your developer token, otherwise an error will occur ("Invalid Token").

About

A bot for the course SSC0902's (computer architecture and organization) discord server, that gives the students exercises to study, as well as their ideal answers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.9%
  • Cython 3.7%
  • C 1.1%
  • C++ 0.2%
  • Fortran 0.1%
  • PowerShell 0.0%