A discord bot made for playing two player games, it can be invited with this link:
Get support or just chat in:
Or the D++ discord server:
D++ - The C++ Discord API Library
If you are a developer curious in building DuelBot, visit BUILDING.md
info
: Provides a short description of DuelBot and links to this repository
challenge <game> <player> [<ranked?>]
: Challenge player
to game
, by default, a game is played ranked, however it can be unranked if ranked
is set to false. This will pop up a modal, with three input lines, the start time, the increment time, and the grace time, which, in chess time notation, is start (m)|increment (s)|grace (s)
. The receiving user can choose to either accept or reject this game
getrate <game> [<player>]
: Get's a given player's (by default sender of command) rating in game
, if they allow others to see their rating.
changesetting <setting> <value> [<gametype>][<effectglobal>]
: Change user option setting
to value
for gametype
. effectglobal
, if set, can be used to change where it is changed, where global is the default and any server specific setting has higher precedence
joinqueue <game> [<time>]
: Join a queue for the game game
with time control time
, always ranked
I developed a formula for the rating bias, and it goes as follows:
Where
And the best case scenario is:
By default, in DuelBot, it b=8
and a=2
, therefore the above become:
And
TODO