🔀 Merge pull request #94 from TFA-N/master

Add commandlist.txt and update readme
This commit is contained in:
Jannes Höke 2021-01-24 13:31:23 +01:00 committed by GitHub
commit 33874a1267
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 0 deletions

View file

@ -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. - 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' \;`. 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 `/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` - 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`. You can change some gameplay parameters like turn times, minimum amount of players and default gamemode in `config.json`.

18
commandlist.txt Normal file
View file

@ -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