From 7fb00ef5ffc5d91c8dc9aea6e878b2f1dad0d037 Mon Sep 17 00:00:00 2001 From: TFA-N <64919956+TFA-N@users.noreply.github.com> Date: Sun, 24 Jan 2021 12:29:01 +0000 Subject: [PATCH 1/2] Create commandlist.txt --- commandlist.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 commandlist.txt diff --git a/commandlist.txt b/commandlist.txt new file mode 100644 index 0000000..e1aa46a --- /dev/null +++ b/commandlist.txt @@ -0,0 +1,18 @@ +new - Start a new game +join - Join the current game +start - Start the game +leave - Leave the game you're in +close - Close the game lobby +open - Open the game lobby +kill - Terminate the game +kick - Kick players out of the game +enable_translations - Enable multi-translations +disable_translations - Disable multi-translations +skip - Skip the current player +notify_me - Get a message when there's a new game in this group +help - How to use this bot? +modes - Explanation of game modes +settings - Language and other settings +stats - Show statistics +source - See source information +news - All news about this bot From 2b48de719da2cb4233cac23ad49fe78581cf4098 Mon Sep 17 00:00:00 2001 From: TFA-N <64919956+TFA-N@users.noreply.github.com> Date: Sun, 24 Jan 2021 12:29:31 +0000 Subject: [PATCH 2/2] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0e40070..6457816 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ To run the bot yourself, you will need: - Convert all language files from `.po` files to `.mo` by executing the bash script `compile.sh` located in the `locales` folder. Another option is: `find . -maxdepth 2 -type d -name 'LC_MESSAGES' -exec bash -c 'msgfmt {}/unobot.po -o {}/unobot.mo' \;`. - Use `/setinline` and `/setinlinefeedback` with BotFather for your bot. +- Use `/setcommands` and submit the list of commands in commandlist.txt - Install requirements (using a `virtualenv` is recommended): `pip install -r requirements.txt` You can change some gameplay parameters like turn times, minimum amount of players and default gamemode in `config.json`.