Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 844 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 844 Bytes

Truth or Dare Telegram Bot

Bu Telegram bot ikki kishilik Truth or Dare o'yinini o'ynash uchun yaratilgan.

Telegram manzil:

https://t.me/td_gamebot

O'rnatish

  1. Repositoryni clone qiling
  2. Kerakli kutubxonalarni o'rnating:
pip install -r requirements.txt
  1. .env.example faylini .env ga nusxalang va Telegram bot tokenini kiriting
  2. Botni ishga tushiring:
python main.py

O'yin qoidalari

  1. Birinchi o'yinchi /create_game buyrug'ini yuboradi
  2. Ikkinchi o'yinchi /join_game buyrug'i orqali o'yinga qo'shiladi
  3. O'yinchilar navbat bilan Truth yoki Dare tanlashadi
  4. O'yinni tugatish uchun /end_game buyrug'ini yuboring

Bot buyruqlari

  • /start - Botni ishga tushirish
  • /create_game - Yangi o'yin yaratish
  • /join_game - Mavjud o'yinga qo'shilish
  • /end_game - O'yinni tugatish