Skip to content

denji77/MyClassScrape

 
 

Repository files navigation

MyClassScrape

Discord bot to scrape class schedule using discord.py library with MongoDB database.

Feel free to invite me to your server.

You can invite me at http://mrmiss.wtf/MyClassScrape.

If you are interested to contribute feel free to send a pull request or get in touch with me.

Setup

To setup this Bot you just need to set the configuration first with the config.env file. This file should be placed on the root folder of this bot. This is where the bot token an others variables are loaded. It's recomended to import from sample_config.env to ensure the bot contains all default variables

An example config.env file could be:

BOT_TOKEN = ""  # Your Bot token
BOT_PREFIX = "!"  # A handler that bot react with
DATABASE_URL = "mongodb+srv://username:password@host.port.mongodb.net/db_name"
KEY = "AbcDeFGhiJkl="  # Fernet key to encrypt

Dependencies

Install the necessary Python dependencies by moving to the project directory and running:

pip3 install -r requirements.txt.

This will install all the necessary python packages.

Starting the bot

Once you've set up your database and your configuration is complete, simply run:

python3 -m bot

License

This work is licensed under the GNU General Public License v3.0

You may copy, distribute and modify the software under the terms of the GNU General Public License.

About

Discord bot to scrape binus class schedule

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.0%
  • Shell 2.8%
  • Dockerfile 1.2%