المشاريع
عرض على GitHub
jh0ker/mau_mau_bot
حول
Telegram Bot that allows you to play Mau Mau (UNO) via inline queries
مشاريع أخرىالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلUNO Bot
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:
- Python (tested with 3.4+)
- The python-telegram-bot module
- Pony ORM
Setup
- Get a bot token from @BotFather and change configurations in
config.json. - Convert all language files from
.pofiles to.moby executing the bash scriptcompile.shlocated in thelocalesfolder. Another option is:find . -maxdepth 2 -type d -name 'LC_MESSAGES' -exec bash -c 'msgfmt {}/unobot.po -o {}/unobot.mo' \;. - Use
/setinlineand/setinlinefeedbackwith BotFather for your bot. - Use
/setcommandsand submit the list of commands in commandlist.txt - Install requirements (using a
virtualenvis 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.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…