A Discord bot that rolls dice and stuff.
The original boilerplate code and the original /roll command was stolen from Eruantien. Much thanks to him for that.
Type /help on any server on which Battlebot exists to get a list of the commands the bot will respond to.
python battlebot.py
to launch the bot. It will print its own invite link to the console when it starts up. Copy this link into a web browser to add the bot to your server!Optionally, you may set up another Discord app and place its token in another file named "devbot.token". Invoke the bot using python battlebot.py dev
to use this token instead of the normal one.
This is how I can work on the bot while also letting it run unaffected: I have two separate discord apps, one for the public bot and one for my oen testing. This effectively allows me to run two different bots off the same code base. It works well.