Derpy is a simple chatbot for Discord. She replies whenever someone says her user name in a channel she can access, using Markov chains to generate novel responses from old chat logs. When deployed in a channel with a substantial chat history, her responses can get quite amusing.
Derpy requires Java 1.8 or higher to work. Make sure you have it installed on your machine before proceeding.
- Download the latest release.
- Unzip the contents and put them anywhere you want.
- Go to the Discord applications page.
- Click
New App
. - Give your bot instance a name. This is the name the bot will have within Discord.
- Click
Create App
. - Click
Create a Bot User
. - Click
Yes, do it!
. - Enter the following URL in a new browser tab, where
YOURCLIENTID
is theClient ID
string listed on the app page you created in step 6:https://discordapp.com/oauth2/authorize?client_id=YOURCLIENTID&scope=bot
- Under
Select a server
, pick the server you want to deploy the bot on. You must haveManage Server
permissions for this to work. - Click
Authorize
. - Click the validation checkbox in the captcha that appears.
- Go back to the app page you created in step 6.
- Click
click to reveal
, next toToken:
. - Copy the token string you revealed in step 14 into a text file named
token.txt
. Place it in theconfig
subdirectory of the bot installation you created in step 2. - Open the
bin
subdirectory of the bot installation you created in step 2. - Either double-click on
Derpy.jar
, or enterjava -jar Derpy.jar
in the console. - If any firewall notices appear, click
Allow
.
Your bot will now automatically connect to Discord, and should appear on your server shortly.