Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.27 KB

README.md

File metadata and controls

39 lines (24 loc) · 1.27 KB

Custom Bots

About

This repository contains the source code for the custom bots that I have created for users on the Discord platform. These bots are written in Python using the discord.py library.

Usage

To use these bots, you will need to have Python installed on your system. You will also need to install the discord.py library. You can do this by running the following command:

python3 -m pip install -U discord.py

Set the environment variable MONGO_URI to the URI of your MongoDB database. You can do this by running the following command:

export MONGO_URI="mongodb://localhost:27017"

or by adding the monogo URI in your .env file.

Once you have installed the required dependencies, you can run the bots by running the following command:

python3 bot.py

How to add bot to database

To add a bot to the database, you just need to run the adder.py script. You can do this by running the following command:

python3 adder.py

License

This project is licensed under the MIT License - see the LICENSE file for details.