Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 963 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 963 Bytes

Discord-chess

Discord bot for playing chess with visualisation of the game

image

Build

This program requires my library for simulating chess games.
Provide path to it in build.gradle.

Configuration

The program requires a .env file containing discord app token and default command prefix. Example:

token=<your token here>
DEFAULT_PREFIX=--

Usage

After adding it to the server you can start a game with command as such:

--chess @user

By default you will play random color. To choose a side use -b (--black) or -w (--white) for yourself. Example:

--chess @user -w

To make a move use command mv with standard chess notation as an argument. Example:

--mv Qf6

If you wish to give up the game use this command:

--resign

To get more information on those other commands use:

--help