Skip to content

Telegram Bot that allows you to play Mau Mau (UNO) via inline queries

License

Notifications You must be signed in to change notification settings

jh0ker/mau_mau_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

75a2395 · Aug 22, 2024
Aug 18, 2024
Aug 18, 2024
Apr 9, 2023
Feb 3, 2024
Mar 10, 2021
Aug 18, 2024
Mar 11, 2024
Aug 18, 2024
May 8, 2016
Aug 18, 2024
Aug 18, 2024
Jan 24, 2021
Feb 3, 2024
Jun 7, 2023
Nov 18, 2023
Apr 9, 2023
Jan 24, 2021
Dec 7, 2017
Mar 12, 2024
Nov 27, 2017
Jun 10, 2019
Aug 18, 2024
May 19, 2016
Jun 7, 2023
Nov 11, 2023
Aug 28, 2019
Jun 7, 2023
Mar 9, 2016
Aug 18, 2017
Jun 7, 2023
Nov 11, 2023
Aug 18, 2024
Aug 18, 2024
Oct 18, 2019
Feb 10, 2022
Feb 10, 2022
Nov 11, 2023
May 19, 2016
Nov 27, 2017
Dec 7, 2022

Repository files navigation

UNO Bot

License: AGPL v3

Telegram Bot that allows you to play the popular card game UNO via inline queries. The bot currently runs as @unobot.

To run the bot yourself, you will need:

Setup

  • Get a bot token from @BotFather and change configurations in config.json.
  • 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. Current gamemodes available: classic, fast and wild. Check the details with the /modes command.

Then run the bot with python3 bot.py.

Code documentation is minimal but there.

About

Telegram Bot that allows you to play Mau Mau (UNO) via inline queries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages