#It is broken whoops
Discord Bot using Discordie that can run chess in Discord servers
- Script setup
- In "script.js" at line 46, replace "INSERT TOKEN HERE" with the token for your Bot user.
- The Bot user token should be found in the application page for your specific bot.
- Running the script
- Ensure that Node.js is present in your computer.
- Then run "run.bat", a command prompt window should pop-up and look something like this
- Test the bot
-
In the Discord server where the bot was added, type "PING" into a text channel, and the bot should reply "PONG" in that same channel
-
If the bot replies properly, the set up is finished!
Command | Description |
---|---|
!chess start |
Sets Player 1 for a new Chess Game |
!chess join |
Joins the Chess Game, should only be done after !chess start has been used |
move <startpos><endpos> |
e.g. move g2g4 to move a White Pawn |