A Discord bot based on Discord.py.
The following is a quickstart guide to getting the bot running.
You can use our copy of Dave-BOT. We take no responsibility for any issues arising out of your use of our service to the maximum legal extent, and there is no guarantee that it will be available.
- Make sure you can add bots to your discord.
- Visit this bot add link.
- Select the server you want to add dave to.
- Enjoy!
This app will build into a docker container:
- Get your discord clientcode.
- Get your discord user id (enable developer tools).
- Optionally, get your reddit client_id and _secret (we recommend using a personal user script), and your openweathermap api key.
- Download and install docker.
- Clone the master branch/get the source of the latest release of the repo.
- cd into the top level of the repo (Usually
cd Dave-BOT). - Build with
sudo docker build -t dave:master . - Create a file called env.list and put your discord clientcode (and optional keys) in it:
clientcode=CODE HERE
adminid=ID HERE
client_id=ID HERE
client_secret=SECRET HERE
weather=KEY HERE
- Run with
sudo docker run -d --env-file env.list dave:master - Get your ID by running
sudo docker logs <name>where is the container name/id; insert it asIDinto https://discordapp.com/oauth2/authorize?client_id=ID&scope=bot&permissions=0; this allows you to add it to any servers where you are allowed to do so. - To stop,
sudo docker stop <name>
Once the bot is connected, you can use !load to load modules.
For running without docker, see docs/sansdocker.md
For development and contributing, see docs/CONTRIBUTING.md
data/cond.json is credited to tbranyen