Giter Site home page Giter Site logo

luishdantas / discord-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eduardafneumann/discord-bot

0.0 0.0 0.0 48.49 MB

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.

Python 94.83% PowerShell 0.02% Shell 0.01% Cython 3.69% C 1.10% C++ 0.24% Fortran 0.07% Forth 0.01% Smarty 0.02% XSLT 0.01%

discord-bot's Introduction

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").

discord-bot's People

Contributors

luishdantas avatar eduardafneumann avatar eduarda-neumann avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.