A discord bot that let's you install external cogs through a single command
WARNING: Some parts tested on Windows 10 and others on macOS Mojave since I work on both machines
- Python3 (recommended to be 3.6.6)
- git
- discord 1.0.0a rewrite
pip3 install -U git+https://github.com/Rapptz/discord.py@rewrite#egg=discord.py[voice]
git clone https://github.com/Astrol99/Bundle.git
Make a .txt file named "token" and insert your bot token on the first line.
python bot.py
That's it!
Unless you get errors
NOTE: The install and uninstall commands are hidden and cannot be used from users that don't have admin permissions in your server in order to protect abuse and spam.
In order to install other cogs, you must use a git repo where the repo name and cog file name are the same. Usage:
./install <github repository link>
Example: In discord, when your bot is online,
./install https://github.com/Astrol99/Slanted.git
And then the bot will automatically reload it for you and will be ready to use!
You can easily name the cogs by doing:
./list_cogs
and it will show a list of all cogs in the cog folder. All cogs are named: "cogs.<cog_name>" Usage:
./uninstall cogs.<cog_name>
You will need this to uninstall cogs. For example:
./uninstall cogs.test