https://github.com/tomasfarias/chess2gif-bot
A Discord bot to turn your chess games into GIFs! Works with chess.com and lichess.org.
https://github.com/tomasfarias/chess2gif-bot
Last synced: 16 days ago
JSON representation
A Discord bot to turn your chess games into GIFs! Works with chess.com and lichess.org.
- Host: GitHub
- URL: https://github.com/tomasfarias/chess2gif-bot
- Owner: tomasfarias
- License: bsd-3-clause
- Created: 2021-04-05T14:18:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-03T21:14:00.000Z (over 5 years ago)
- Last Synced: 2025-10-17T08:26:26.232Z (10 months ago)
- Language: Python
- Size: 99.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
************
chess2gif-bot
************
A Discord bot to turn your chess games into GIFs! For now, it works with chess.com and lichess.org.
Usage
#####
Simply call the bot with your Discord token:
::
chess-bot TOKEN
Alternatively, the token can be read from the environment using ``DISCORD_BOT_TOKEN``:
::
DISCORD_BOT_TOKEN=TOKEN chess-bot
Commands
########
The bot doesn't have any commands but insteads listens to mentions. So, for example, to send a message containing Hikaru's last game from chess.com, simply do:
::
@Chess2GIF player:hikaru
Alternatively, you can mention the bot with any game ID:
::
@Chess2GIF id:1111111111
You can get any game ID from the game's URL:
- `chess.com `_: ``https://www.chess.com/game/live/{ID}``
- `lichess.org `_: ``https://www.lichess.org/{ID}``