Skip to content

m1chtv/mich-JudgeGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Telegram Truth or Dare Bot

A fully-featured Truth or Dare Telegram bot designed for group chats, with advanced game management, admin controls, timers, stats, and persistent storage.

Built with Node.js using node-telegram-bot-api.


โœจ Features

  • ๐ŸŽฎ Multiplayer Truth or Dare game (2โ€“10 players)
  • ๐Ÿ‘‘ Game owner & admin controls
  • ๐Ÿ”ž 18+ mode & normal mode
  • ๐Ÿ’ญ Truth / ๐Ÿ”ฅ Dare / โš–๏ธ Balanced question modes
  • โฑ Configurable turn timer (3 / 5 / 7 minutes)
  • ๐Ÿ“Š Live stats & final scoreboard
  • ๐Ÿ‘ฅ Player management (join, leave, kick, transfer ownership)
  • ๐Ÿง  Question history (view previous question)
  • ๐Ÿšซ Anti-spam protection
  • ๐Ÿ’พ Persistent game state (JSON storage)
  • ๐Ÿงฉ Inline keyboards (no text spam)
  • ๐Ÿ“‚ Custom questions via questions.json
  • ๐Ÿ“ File-based logger (bot.log)
  • โšก Inline mode support

๐Ÿงฑ Tech Stack

  • Node.js
  • node-telegram-bot-api
  • JSON-based local storage

๐Ÿ“ Project Structure

. โ”œโ”€โ”€ index.js โ”œโ”€โ”€ questions.json โ”œโ”€โ”€ data/ โ”‚ โ””โ”€โ”€ games.json โ”œโ”€โ”€ bot.log โ””โ”€โ”€ README.md


๐Ÿš€ Installation

git clone https://github.com/m1chtv/mich-JudgeGame.git
cd mich-JudgeGame
npm install


๐Ÿ” Configuration

change bot token


โ–ถ๏ธ Run

node index.js


๐Ÿ•น Commands

/judge โ€“ Start game
/players โ€“ Show players
/clean โ€“ Delete game

Admin only:
/kick username
/add username
/transfer username


๐Ÿ“œ License

GNU General Public License v3.0

About

๐ŸŽฎ Advanced Telegram Truth or Dare Bot with group management, admin controls, 18+ mode, timers, persistent storage, and inline keyboards โ€” built with Node.js

Topics

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Contributors