This code should activate a bot for discord channel and post a random puzzle from lichess.org database or daily puzzle.
It has next commands:
/help
-- show the list of available commands/hello
-- get greetings from bot/roll dice
-- get random integer from 1 to 6/puzzle
-- post a random puzzle with disered rating/daily puzzle
-- post daily puzzle from lichess.org database/solution
-- post a solution/id
-- post ID of the puzzle, and it can be accessed via https://lichess.org/training/ID/moves
-- show the total number of moves including both sides/rating
-- show the puzzle rating/themes
-- show the list of themes releated to the puzzle