Warning
As of July 22, 2024, this project has not received work in over a year. Due to a lack of updates, this project is being archived.
A sophisticated Discord chess bot, written with Discord.js and Node.js.
Clone this repo:
git clone https://github.com/joeymalvinni/ChessBot.git
cd ChessBot
Install necessary node modules with yarn:
yarn install
Create the .env
file with the fields:
TOKEN="bot token"
TEST_GUILD_ID="test server id"
Run the bot:
npm start
/userinfo
- Replies with user information.
/serverinfo
- Replies with server information.
/ping
- Ping ChessBot for bot and websocket latency.
/challenge ${@player}
- Challenge player to game of chess. Person must accept challenge within 15 seconds.
/games
- Lists current games being played.
/move
- Make a move in your current game.
/leaderboard
- Replies with leaderboard table, sorted by ELO.
/requestDraw
- Sends opponent a draw request for the current game.
/resign
- Resigns current game.
The author of ChessBot is Joey Malvinni