An extendable, plugin driven, discord bot framework based on Rapptz discord.py
WINDOWS
LINUX
WINDOWS & LINUX
WINDOWS
Note: You will need to either replace the credentials.txt file in the /deps directory or have one in the root directory (the same location as RunWindows.bat). The bat file should automatically copy it to the /dist directory for you. If your credentials file is not properly setup, the bot won't login or work.
LINUX
Note: The first time you run the bot, you need to run copy. This will make sure the code and dependencies are in the /dist directory. Afterwards, it should only be necssary to run "make rerun" if you've updated the code or "make runpy" if nothing has changed.
Type "!help" in the chat to see a list of all the commands the bot supports as well as all the commands the plugins support!
The bot has been setup to use a file, credentials.txt, to login. This file has to be added by the user as they will obviously have their own credentials for their bot (see below on how to add a bot to a server). The credentials file is setup with two lines. The first being the application id and the second being the authentication token used to login. If you want to simplify this a little, feel free to modify the flow in styrobot.py (bottom of the file)! Your file will probably look something like this:
891234943217123478
ASDjkwq.jxASDfjioeqwkl.dasdASDFKJdj.2jKOLAs90ASDFjk2l1.kDEF
Once you've created your application and bot under your discord account, you can add that bot to a server. To do so, just paste this url into your browser, changing ### to whatever your application's id is. It will be the long number under App Details called "Client/Application ID".
https://discordapp.com/oauth2/authorize?client_id=###&scope=bot&permissions=0
For more info, check out the official documentation here: https://discordapp.com/developers/docs/topics/oauth2