{"_id":"@bakachoda/casino-bot","_rev":"2-180faec95daaf5a046f38c69ec90b1a1","name":"@bakachoda/casino-bot","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@bakachoda/casino-bot","version":"1.0.0","_id":"@bakachoda/casino-bot@1.0.0","maintainers":[{"name":"bakachoda","email":"ytamit777@gmail.com"}],"bin":{"casino-bot":"bot.js"},"dist":{"shasum":"e7844dcfc6e6c311a5a2f24b9d70cc40641ed7b7","tarball":"https://registry.npmjs.org/@bakachoda/casino-bot/-/casino-bot-1.0.0.tgz","fileCount":3,"integrity":"sha512-k8G2+HM5H2wCOFSOwScK/jS1xGC2aNP+MRXqAZAsxRF2pGPFdhMGy31kvCcJNVSQt04RpJOotFGCegrB5uL6CA==","signatures":[{"sig":"MEUCIGG4wb1phKcv6arq/KpHkVUdlMazCoVxQm8u/kFaqhQQAiEA/aAmH8p73oZAHUva0UZYGJFyzpZ0JbA09PTwTdPdF9Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10987},"main":"bot.js","scripts":{"start":"node bot.js"},"_npmUser":{"name":"bakachoda","email":"ytamit777@gmail.com"},"_npmVersion":"10.9.4","description":"Telegram bot that sends random animated dice emojis","directories":{},"_nodeVersion":"22.21.1","dependencies":{"dotenv":"^16.4.7","node-telegram-bot-api":"^0.66.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/casino-bot_1.0.0_1776805105031_0.8183327735232717","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@bakachoda/casino-bot","version":"1.1.0","description":"Telegram bot that sends random animated dice emojis","keywords":["telegram","bot","casino","game","dice","telegram-bot","minigame","animated-emoji","slots","bowling","basketball","darts","football","prediction"],"main":"bot.js","bin":{"casino-bot":"bot.js"},"scripts":{"start":"node bot.js"},"dependencies":{"dotenv":"^16.4.7","node-telegram-bot-api":"^0.66.0"},"_id":"@bakachoda/casino-bot@1.1.0","gitHead":"ff808118ffed613fe46976e4315a014e726dafb8","_nodeVersion":"22.21.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-0NERC4CJwmzZmg+uWO41/TnmNVcBcLXcbV1dqzI4aIYID4EvLUjDyv4uduwdgCVdffsasxEUveMmO0w//GUhMA==","shasum":"4c9a281632a77ffc6ab796fc70ca4eef75bf3c58","tarball":"https://registry.npmjs.org/@bakachoda/casino-bot/-/casino-bot-1.1.0.tgz","fileCount":4,"unpackedSize":15190,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDSkhGxpgdssRF/qWiH8/jXpPPBYitPLFs7pnXl9qhX9QIhAIvHr7ranj7/QCW7rnaegHFdfo2s/XlktjfClzTe6GkG"}]},"_npmUser":{"name":"bakachoda","email":"ytamit777@gmail.com"},"directories":{},"maintainers":[{"name":"bakachoda","email":"ytamit777@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/casino-bot_1.1.0_1776941928403_0.07950451890228938"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-21T20:58:24.933Z","modified":"2026-04-23T10:58:48.648Z","1.0.0":"2026-04-21T20:58:25.165Z","1.1.0":"2026-04-23T10:58:48.528Z"},"description":"Telegram bot that sends random animated dice emojis","maintainers":[{"name":"bakachoda","email":"ytamit777@gmail.com"}],"readme":"# 🎰 Casino Bot\n\nA fun and interactive Telegram bot built with Node.js that leverages Telegram's native animated dice emojis to bring casino-style mini-games directly to your chats!\n\n## ✨ Features\n\n* **Quick Play**: Instantly roll a dice, throw a dart, shoot hoops, kick a football, bowl, or spin the slot machine.\n* **Prediction Game Mode**: Start a group prediction round where friends can bet on the outcome before rolling!\n* **Native Telegram Animations**: Uses Telegram's built-in animated emojis for smooth, server-side verified random results.\n* **Easy to Use**: Simple commands for everything.\n\n## 🎮 Available Games\n\n| Command | Game | Range | Description |\n| :--- | :--- | :--- | :--- |\n| `/dice` | 🎲 Dice | 1-6 | Roll a classic 6-sided dice |\n| `/darts` | 🎯 Darts | 1-6 | Throw a dart at the dartboard |\n| `/basketball` | 🏀 Basketball | 1-5 | Try to score a basket |\n| `/football` | ⚽ Football | 1-5 | Kick the ball into the goal |\n| `/bowling` | 🎳 Bowling | 1-6 | Try to get a strike |\n| `/slots` | 🎰 Slots | 1-64 | Spin the slot machine for a jackpot |\n\n## 🚀 Getting Started\n\n### Prerequisites\n\n* Node.js (v14 or higher)\n* A Telegram Bot Token (Get one from [@BotFather](https://t.me/botfather))\n\n### Installation\n\n1. Install the package globally:\n   ```bash\n   npm install -g @bakachoda/casino-bot\n   ```\n2. Or clone the repository and install dependencies:\n   ```bash\n   git clone <your-repo-url>\n   cd casino-bot\n   npm install\n   ```\n\n### Configuration\n\nCreate a `.env` file in the root of your project and add your Telegram Bot Token:\n\n```env\nBOT_TOKEN=your_telegram_bot_token_here\n```\n*(Note: If running globally via `npx`, you can set the environment variable directly or modify the token inside `bot.js` as a fallback)*\n\n### Running the Bot\n\nIf installed globally:\n```bash\ncasino-bot\n```\n\nIf running locally:\n```bash\nnpm start\n```\n\n## 🎲 How to Play the Prediction Game\n\nStart a betting round with your friends in a group chat!\n\n1. **Start a round**: `/predict <game>` (e.g., `/predict dice`)\n2. **Place your bets**: Players use `/join <number>` to predict the outcome.\n3. **Check players**: Use `/players` to see everyone's predictions.\n4. **Roll**: Use `/roll` to fire the animation and see who wins!\n5. **Cancel**: Made a mistake? Cancel the round with `/cancel`.\n\n## 🛠 Built With\n\n* [node-telegram-bot-api](https://github.com/yagop/node-telegram-bot-api) - Telegram Bot API wrapper for Node.js\n* [dotenv](https://github.com/motdotla/dotenv) - Zero-dependency module that loads environment variables\n\n## 📜 License\n\nISC\n","readmeFilename":"README.md","keywords":["telegram","bot","casino","game","dice","telegram-bot","minigame","animated-emoji","slots","bowling","basketball","darts","football","prediction"]}