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.me/MyClassScrape.
If you are interested to contribute feel free to send a pull request
.
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
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.
Once you've set up your database and your configuration is complete, simply run:
python3 -m bot
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.